tesla_s300_purifier.yaml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. name: Air purifier
  2. products:
  3. - id: 7v1gn9wmbqvtcqkc
  4. manufacturer: Tesla Smart
  5. model: S300
  6. entities:
  7. - entity: fan
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: switch
  12. - id: 4
  13. type: string
  14. name: speed
  15. mapping:
  16. - dps_val: "1"
  17. value: 14
  18. - dps_val: "2"
  19. value: 28
  20. - dps_val: "3"
  21. value: 42
  22. - dps_val: "4"
  23. value: 57
  24. - dps_val: "5"
  25. value: 71
  26. - dps_val: "6"
  27. value: 85
  28. - dps_val: "7"
  29. value: 100
  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. translation_key: filter_life
  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. translation_key: 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: excellent
  126. - dps_val: mild
  127. value: moderate
  128. - dps_val: good
  129. value: good
  130. - dps_val: medium
  131. value: poor
  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. translation_key: sound
  148. category: config
  149. dps:
  150. - id: 104
  151. type: boolean
  152. name: switch
  153. mapping:
  154. - dps_val: true
  155. value: false
  156. - dps_val: false
  157. value: true
  158. - entity: light
  159. dps:
  160. - id: 105
  161. type: string
  162. name: switch
  163. mapping:
  164. - dps_val: "off"
  165. value: false
  166. - dps_val: yellow
  167. value: true
  168. - id: 105
  169. type: string
  170. name: named_color
  171. mapping:
  172. - dps_val: "off"
  173. value: black
  174. - dps_val: orange
  175. value: orange
  176. - dps_val: green
  177. value: green
  178. - dps_val: blue
  179. value: blue
  180. - dps_val: yellow
  181. value: yellow