starlight_heatpump.yaml 7.5 KB

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