tesla_airconditioner.yaml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. name: Air conditioner
  2. products:
  3. - id: wxqdp6ecfkd78zzz
  4. name: Tesla TYAUX F/LM/J
  5. primary_entity:
  6. entity: climate
  7. dps:
  8. - id: 1
  9. type: boolean
  10. name: hvac_mode
  11. mapping:
  12. - dps_val: false
  13. value: "off"
  14. - dps_val: true
  15. constraint: mode
  16. conditions:
  17. - dps_val: cold
  18. value: cool
  19. - dps_val: hot
  20. value: heat
  21. - dps_val: wet
  22. value: dry
  23. - dps_val: wind
  24. value: fan_only
  25. - dps_val: auto
  26. value: heat_cool
  27. - id: 2
  28. type: integer
  29. name: temperature
  30. range:
  31. min: 160
  32. max: 320
  33. mapping:
  34. - scale: 10
  35. step: 5
  36. constraint: temperature_unit
  37. conditions:
  38. - dps_val: F
  39. range:
  40. min: 600
  41. max: 900
  42. - id: 3
  43. type: integer
  44. name: current_temperature
  45. mapping:
  46. - scale: 10
  47. - id: 4
  48. name: mode
  49. type: string
  50. hidden: true
  51. - id: 5
  52. type: string
  53. name: fan_mode
  54. mapping:
  55. - dps_val: mute
  56. value: "off"
  57. - dps_val: low
  58. value: low
  59. - dps_val: mid
  60. value: medium
  61. - dps_val: high
  62. value: high
  63. - dps_val: auto
  64. value: auto
  65. - id: 8
  66. type: boolean
  67. name: preset_mode
  68. mapping:
  69. - dps_val: true
  70. value: eco
  71. - dps_val: false
  72. value: comfort
  73. - id: 19
  74. type: string
  75. name: temperature_unit
  76. - id: 33
  77. type: boolean
  78. name: swing_mode
  79. mapping:
  80. - dps_val: false
  81. constraint: swing_vert
  82. conditions:
  83. - dps_val: false
  84. value: "off"
  85. - dps_val: true
  86. value: vertical
  87. - dps_val: true
  88. constraint: swing_vert
  89. conditions:
  90. - dps_val: false
  91. value: horizontal
  92. - dps_val: true
  93. value: both
  94. - id: 105
  95. type: boolean
  96. name: swing_vert
  97. hidden: true
  98. - id: 107
  99. type: bitfield
  100. name: fault_code
  101. - id: 108
  102. type: bitfield
  103. name: model
  104. secondary_entities:
  105. - entity: switch
  106. name: Emergency heat
  107. category: config
  108. dps:
  109. - id: 12
  110. type: boolean
  111. name: switch
  112. - entity: light
  113. name: Backlight
  114. icon: "mdi:television-ambient-light"
  115. category: config
  116. dps:
  117. - id: 13
  118. type: boolean
  119. name: switch
  120. - entity: lock
  121. translation_key: child_lock
  122. category: config
  123. dps:
  124. - id: 14
  125. type: boolean
  126. name: lock
  127. - entity: select
  128. translation_key: temperature_unit
  129. category: config
  130. dps:
  131. - id: 19
  132. type: string
  133. name: option
  134. mapping:
  135. - dps_val: C
  136. value: celsius
  137. - dps_val: F
  138. value: fahrenheit
  139. - entity: sensor
  140. class: energy
  141. category: diagnostic
  142. dps:
  143. - id: 28
  144. type: integer
  145. name: sensor
  146. unit: kWh
  147. class: total_increasing
  148. - entity: switch
  149. name: Sleep
  150. icon: "mdi:power-sleep"
  151. category: config
  152. dps:
  153. - id: 102
  154. type: boolean
  155. name: switch
  156. - entity: switch
  157. name: Clean
  158. icon: "mdi:shimmer"
  159. category: config
  160. dps:
  161. - id: 103
  162. type: boolean
  163. name: switch
  164. - entity: switch
  165. name: Anti-mould
  166. icon: "mdi:water-off"
  167. category: config
  168. dps:
  169. - id: 104
  170. type: boolean
  171. name: switch
  172. - entity: switch
  173. name: iHealth
  174. icon: "mdi:creation"
  175. category: config
  176. dps:
  177. - id: 106
  178. type: boolean
  179. name: switch
  180. - entity: binary_sensor
  181. name: Fault
  182. class: problem
  183. category: diagnostic
  184. dps:
  185. - id: 107
  186. type: bitfield
  187. name: sensor
  188. mapping:
  189. - dps_val: 0
  190. value: false
  191. - value: true
  192. - entity: switch
  193. name: "On timer"
  194. translation_key: timer
  195. category: config
  196. dps:
  197. - id: 109
  198. type: boolean
  199. name: switch
  200. - entity: switch
  201. name: "Off timer"
  202. translation_key: timer
  203. category: config
  204. dps:
  205. - id: 110
  206. type: boolean
  207. name: switch
  208. - entity: number
  209. name: Timer hours
  210. category: config
  211. translation_key: timer
  212. dps:
  213. - id: 111
  214. type: integer
  215. name: value
  216. unit: h
  217. range:
  218. min: 0
  219. max: 23
  220. - entity: number
  221. name: Timer minutes
  222. category: config
  223. translation_key: timer
  224. dps:
  225. - id: 112
  226. type: integer
  227. name: value
  228. unit: min
  229. range:
  230. min: 0
  231. max: 59
  232. - entity: number
  233. name: Power limit
  234. icon: "mdi:meter-electric-outline"
  235. category: diagnostic
  236. dps:
  237. - id: 103
  238. type: integer
  239. name: value
  240. optional: true
  241. unit: "%"
  242. range:
  243. min: 30
  244. max: 100
  245. mapping:
  246. - dps_val: null
  247. value: 100
  248. hidden: true
  249. - entity: switch
  250. name: Limit power
  251. icon: "mdi:meter-electric-outline"
  252. category: config
  253. dps:
  254. - id: 104
  255. type: boolean
  256. name: switch