royalclima_fresh_climate.yaml 7.6 KB

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