tesla_s300_purifier.yaml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. name: Air purifier
  2. products:
  3. - id: 7v1gn9wmbqvtcqkc
  4. name: Tesla Air S300
  5. primary_entity:
  6. entity: fan
  7. dps:
  8. - id: 1
  9. type: boolean
  10. name: switch
  11. - id: 4
  12. type: string
  13. name: speed
  14. mapping:
  15. - dps_val: "1"
  16. value: 14
  17. - dps_val: "2"
  18. value: 28
  19. - dps_val: "3"
  20. value: 42
  21. - dps_val: "4"
  22. value: 57
  23. - dps_val: "5"
  24. value: 71
  25. - dps_val: "6"
  26. value: 85
  27. - dps_val: "7"
  28. value: 100
  29. secondary_entities:
  30. - entity: sensor
  31. class: pm25
  32. category: diagnostic
  33. dps:
  34. - id: 2
  35. type: integer
  36. name: sensor
  37. unit: ugm3
  38. class: measurement
  39. - entity: sensor
  40. name: Filter
  41. category: diagnostic
  42. dps:
  43. - id: 5
  44. type: integer
  45. name: sensor
  46. unit: "%"
  47. - entity: switch
  48. translation_key: ionizer
  49. category: config
  50. dps:
  51. - id: 6
  52. type: boolean
  53. name: switch
  54. - entity: lock
  55. translation_key: child_lock
  56. category: config
  57. dps:
  58. - id: 7
  59. type: boolean
  60. name: lock
  61. optional: true
  62. mapping:
  63. - dps_val: null
  64. value: false
  65. hidden: true
  66. - entity: switch
  67. translation_key: uv_sterilization
  68. category: config
  69. dps:
  70. - id: 9
  71. type: boolean
  72. name: switch
  73. - entity: button
  74. translation_key: filter_reset
  75. category: config
  76. dps:
  77. - id: 11
  78. type: boolean
  79. optional: true
  80. name: button
  81. - entity: select
  82. translation_key: timer
  83. category: config
  84. dps:
  85. - id: 18
  86. type: string
  87. name: option
  88. mapping:
  89. - dps_val: cancel
  90. value: cancel
  91. - dps_val: "1h"
  92. value: "1h"
  93. - dps_val: "2h"
  94. value: "2h"
  95. - dps_val: "3h"
  96. value: "3h"
  97. - dps_val: "4h"
  98. value: "4h"
  99. - dps_val: "5h"
  100. value: "5h"
  101. - dps_val: "6h"
  102. value: "6h"
  103. - dps_val: "7h"
  104. value: "7h"
  105. - dps_val: "8h"
  106. value: "8h"
  107. - dps_val: "9h"
  108. value: "9h"
  109. - dps_val: "10h"
  110. value: "10h"
  111. - dps_val: "11h"
  112. value: "11h"
  113. - dps_val: "12h"
  114. value: "12h"
  115. - entity: sensor
  116. name: Air quality
  117. class: enum
  118. category: diagnostic
  119. dps:
  120. - id: 21
  121. type: string
  122. name: sensor
  123. mapping:
  124. - dps_val: great
  125. value: Great
  126. - dps_val: mild
  127. value: Mild
  128. - dps_val: good
  129. value: Good
  130. - dps_val: medium
  131. value: Medium
  132. - entity: binary_sensor
  133. class: problem
  134. category: diagnostic
  135. dps:
  136. - id: 22
  137. type: bitfield
  138. name: sensor
  139. mapping:
  140. - dps_val: 0
  141. value: false
  142. - value: true
  143. - id: 22
  144. type: bitfield
  145. name: fault_code
  146. - entity: switch
  147. name: Mute
  148. icon: "mdi:volume-mute"
  149. category: config
  150. dps:
  151. - id: 104
  152. type: boolean
  153. name: switch
  154. - entity: light
  155. dps:
  156. - id: 105
  157. type: string
  158. name: switch
  159. mapping:
  160. - dps_val: "off"
  161. value: false
  162. - dps_val: yellow
  163. value: true
  164. - id: 105
  165. type: string
  166. name: named_color
  167. mapping:
  168. - dps_val: "off"
  169. value: black
  170. - dps_val: orange
  171. value: orange
  172. - dps_val: green
  173. value: green
  174. - dps_val: blue
  175. value: blue
  176. - dps_val: yellow
  177. value: yellow
  178. - entity: select
  179. name: Light
  180. deprecated: light
  181. icon: "mdi:lightbulb"
  182. dps:
  183. - id: 105
  184. type: string
  185. name: option
  186. mapping:
  187. - dps_val: "off"
  188. value: "Off"
  189. - dps_val: orange
  190. value: Orange
  191. - dps_val: green
  192. value: Green
  193. - dps_val: blue
  194. value: Blue
  195. - dps_val: yellow
  196. value: Yellow