starlight_heatpump.yaml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. name: StarLight heatpump
  2. primary_entity:
  3. entity: climate
  4. translation_only_key: aircon_extra
  5. dps:
  6. - id: 1
  7. name: hvac_mode
  8. type: boolean
  9. mapping:
  10. - dps_val: false
  11. value: "off"
  12. - dps_val: true
  13. constraint: mode
  14. conditions:
  15. - dps_val: auto
  16. value: heat_cool
  17. - dps_val: cold
  18. value: cool
  19. - dps_val: hot
  20. value: heat
  21. - dps_val: wind
  22. value: fan_only
  23. - dps_val: wet
  24. value: dry
  25. - id: 2
  26. name: temperature
  27. type: integer
  28. range:
  29. min: 160
  30. max: 310
  31. mapping:
  32. - scale: 10
  33. step: 5
  34. constraint: mode
  35. conditions:
  36. - dps_val: wet
  37. invalid: true
  38. - dps_val: wind
  39. invalid: true
  40. - id: 3
  41. name: current_temperature
  42. type: integer
  43. - id: 4
  44. name: mode
  45. type: string
  46. hidden: true
  47. - id: 5
  48. name: fan_mode
  49. type: string
  50. mapping:
  51. - dps_val: auto
  52. value: auto
  53. - dps_val: mute
  54. value: quiet
  55. - dps_val: low
  56. value: low
  57. - dps_val: mid_low
  58. value: medlow
  59. - dps_val: mid
  60. value: medium
  61. - dps_val: mid_high
  62. value: medhigh
  63. - dps_val: high
  64. value: high
  65. - dps_val: strong
  66. value: strong
  67. - id: 20
  68. name: fault_code
  69. type: bitfield
  70. - id: 105
  71. name: sleep_mode
  72. type: string
  73. - id: 110
  74. name: flags
  75. type: bitfield
  76. - id: 113
  77. name: swing_mode
  78. type: string
  79. mapping:
  80. - dps_val: "0"
  81. constraint: horizontal_swing
  82. conditions:
  83. - dps_val: "0"
  84. value: "off"
  85. - dps_val: "1"
  86. value: horizontal
  87. - dps_val: ["2", "3", "4"]
  88. value: horizontal
  89. hidden: true
  90. - dps_val: "1"
  91. constraint: horizontal_swing
  92. conditions:
  93. - dps_val: "0"
  94. value: vertical
  95. - dps_val: "1"
  96. value: both
  97. - dps_val: ["2", "3", "4"]
  98. value: both
  99. hidden: true
  100. - value: both
  101. hidden: true
  102. constraint: horizontal_swing
  103. conditions:
  104. - dps_val: "0"
  105. value: vertical
  106. - id: 114
  107. name: horizontal_swing
  108. type: string
  109. hidden: true
  110. - id: 119
  111. name: electricity_management
  112. type: string
  113. - id: 120
  114. name: gen_mode
  115. type: string
  116. - id: 123
  117. name: flags_2
  118. type: hex
  119. - id: 126
  120. name: vertical_flow_position
  121. type: string
  122. - id: 127
  123. name: horizontal_flow_position
  124. type: string
  125. - id: 128
  126. name: model_code
  127. type: string
  128. - id: 129
  129. name: energy
  130. type: string
  131. - id: 130
  132. name: eco_temp
  133. type: integer
  134. - id: 132
  135. name: hot_cool
  136. type: boolean
  137. - id: 133
  138. name: swing_action
  139. type: string
  140. - id: 134
  141. name: statistics
  142. type: json
  143. secondary_entities:
  144. - entity: sensor
  145. category: diagnostic
  146. class: humidity
  147. dps:
  148. - id: 18
  149. name: sensor
  150. type: integer
  151. unit: "%"
  152. class: measurement
  153. - entity: select
  154. name: Vertical swing
  155. category: config
  156. icon: "mdi:arrow-up-down-bold"
  157. dps:
  158. - id: 113
  159. type: string
  160. name: option
  161. mapping:
  162. - dps_val: "0"
  163. value: "Off"
  164. - dps_val: "1"
  165. value: Full
  166. - dps_val: "2"
  167. value: Upper
  168. - dps_val: "3"
  169. value: Lower
  170. - entity: select
  171. name: Vertical position
  172. category: config
  173. icon: "mdi:unfold-more-horizontal"
  174. dps:
  175. - id: 126
  176. type: string
  177. name: option
  178. mapping:
  179. - dps_val: "0"
  180. value: Unknown
  181. - dps_val: "1"
  182. value: Top
  183. - dps_val: "2"
  184. value: Slightly Up
  185. - dps_val: "3"
  186. value: Middle
  187. - dps_val: "4"
  188. value: Slightly Down
  189. - dps_val: "5"
  190. value: Bottom
  191. - entity: select
  192. name: Horizontal swing
  193. category: config
  194. icon: "mdi:arrow-left-right-bold"
  195. dps:
  196. - id: 114
  197. type: string
  198. name: option
  199. mapping:
  200. - dps_val: "0"
  201. value: "Off"
  202. - dps_val: "1"
  203. value: Full
  204. - dps_val: "2"
  205. value: Left
  206. - dps_val: "3"
  207. value: Center
  208. - dps_val: "4"
  209. value: Right
  210. - entity: select
  211. name: Horizontal position
  212. category: config
  213. icon: "mdi:unfold-more-vertical"
  214. dps:
  215. - id: 127
  216. type: string
  217. name: option
  218. mapping:
  219. - dps_val: "0"
  220. value: Unknown
  221. - dps_val: "1"
  222. value: Leftmost
  223. - dps_val: "2"
  224. value: Slight Left
  225. - dps_val: "3"
  226. value: Center
  227. - dps_val: "4"
  228. value: Slight Right
  229. - dps_val: "5"
  230. value: Rightmost
  231. - entity: select
  232. name: Sleep mode
  233. category: config
  234. icon: "mdi:weather-night"
  235. dps:
  236. - id: 105
  237. type: string
  238. name: option
  239. mapping:
  240. - dps_val: "off"
  241. value: "Off"
  242. - dps_val: "normal"
  243. value: Standard
  244. - dps_val: "old"
  245. value: "Elderly"
  246. - dps_val: "child"
  247. value: "Child"
  248. - entity: light
  249. translation_key: display
  250. category: config
  251. dps:
  252. - id: 123
  253. type: hex
  254. name: switch
  255. mapping:
  256. - mask: "0008"
  257. - entity: switch
  258. name: Buzzer
  259. category: config
  260. icon: "mdi:access-point"
  261. dps:
  262. - id: 123
  263. type: hex
  264. name: switch
  265. mapping:
  266. - mask: "0010"
  267. - entity: switch
  268. name: Soft wind
  269. category: config
  270. icon: "mdi:weather-windy"
  271. dps:
  272. - id: 123
  273. type: hex
  274. name: switch
  275. mapping:
  276. - mask: "8000"
  277. - entity: switch
  278. name: Anti-mildew
  279. category: config
  280. icon: "mdi:water-off-outline"
  281. dps:
  282. - id: 123
  283. type: hex
  284. name: switch
  285. mapping:
  286. - mask: "0100"
  287. - entity: switch
  288. name: Health
  289. category: config
  290. icon: "mdi:heart-outline"
  291. dps:
  292. - id: 123
  293. type: hex
  294. name: switch
  295. mapping:
  296. - mask: "0020"
  297. - entity: switch
  298. translation_key: anti_frost
  299. category: config
  300. dps:
  301. - id: 123
  302. type: hex
  303. name: switch
  304. mapping:
  305. - mask: "1000"
  306. - entity: switch
  307. name: Eco mode
  308. category: config
  309. icon: "mdi:leaf"
  310. dps:
  311. - id: 123
  312. type: hex
  313. name: switch
  314. mapping:
  315. - mask: "0001"
  316. - entity: binary_sensor
  317. class: problem
  318. category: diagnostic
  319. dps:
  320. - id: 20
  321. type: bitfield
  322. name: sensor
  323. mapping:
  324. - dps_val: 0
  325. value: false
  326. - value: true
  327. - entity: binary_sensor
  328. name: Filter
  329. class: problem
  330. category: diagnostic
  331. dps:
  332. - id: 131
  333. type: boolean
  334. name: sensor