goldair_portable_airconditioner.yaml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. name: Air conditioner
  2. legacy_type: nedis_mobile_airconditioner
  3. products:
  4. - id: gylvqvz3p94i3zdn
  5. manufacturer: Goldair
  6. name: "4-in-1 portable air conditioner"
  7. - id: vrredpnf22yayvhi
  8. manufacturer: Nedis
  9. model: ACMB1WT12
  10. entities:
  11. - entity: climate
  12. dps:
  13. - id: 1
  14. type: boolean
  15. name: hvac_mode
  16. mapping:
  17. - dps_val: false
  18. value: "off"
  19. - dps_val: true
  20. constraint: mode
  21. conditions:
  22. - dps_val: cold
  23. value: cool
  24. - dps_val: hot
  25. value: heat
  26. available: support_heat
  27. - dps_val: wet
  28. value: dry
  29. - dps_val: wind
  30. value: fan_only
  31. - id: 2
  32. type: integer
  33. name: temperature
  34. range:
  35. min: 16
  36. max: 31
  37. mapping:
  38. - constraint: temperature_unit
  39. conditions:
  40. - dps_val: 32
  41. value_redirect: temp_set_f
  42. range:
  43. min: 60
  44. max: 88
  45. - id: 3
  46. type: integer
  47. name: current_temperature
  48. mapping:
  49. - constraint: temperature_unit
  50. conditions:
  51. - dps_val: 32
  52. value_redirect: temp_cur_f
  53. - id: 4
  54. type: string
  55. name: mode
  56. hidden: true
  57. - id: 5
  58. type: string
  59. name: fan_mode
  60. mapping:
  61. - dps_val: low
  62. value: low
  63. - dps_val: med
  64. value: medium
  65. available: support_3speed_fan
  66. - dps_val: high
  67. value: high
  68. - id: 15
  69. type: string
  70. name: swing_mode
  71. mapping:
  72. - dps_val: "on"
  73. value: "on"
  74. available: support_swing
  75. constraint: support_only_hswing
  76. conditions:
  77. - dps_val: true
  78. value_redirect: swing_real_horizontal_mode
  79. - dps_val: "off"
  80. value: "off"
  81. available: support_swing
  82. constraint: support_only_hswing
  83. conditions:
  84. - dps_val: true
  85. value_redirect: swing_real_horizontal_mode
  86. - id: 107
  87. type: integer
  88. optional: true
  89. name: temp_set_f
  90. hidden: true
  91. range:
  92. min: 60
  93. max: 88
  94. - id: 108
  95. type: integer
  96. optional: true
  97. name: temp_cur_f
  98. hidden: true
  99. - id: 109
  100. type: bitfield
  101. name: feature_flags
  102. - id: 109
  103. type: bitfield
  104. name: support_vswing
  105. mapping:
  106. - dps_val: 1
  107. value: true
  108. - value: false
  109. - id: 109
  110. type: bitfield
  111. name: support_hswing
  112. mapping:
  113. - dps_val: 2
  114. value: true
  115. - value: false
  116. - id: 109
  117. type: bitfield
  118. name: support_only_hswing
  119. mapping:
  120. - dps_val: 1
  121. value: false
  122. - value_redirect: support_hswing
  123. - id: 109
  124. type: bitfield
  125. name: support_swing
  126. mapping:
  127. - dps_val: 1
  128. value: true
  129. - value_redirect: support_hswing
  130. - id: 109
  131. type: bitfield
  132. name: support_both_swing
  133. mapping:
  134. - dps_val: 1
  135. value_redirect: support_hswing
  136. - value: false
  137. - id: 109
  138. type: bitfield
  139. name: support_heat
  140. mapping:
  141. - dps_val: 8
  142. value: true
  143. - value: false
  144. - id: 109
  145. type: bitfield
  146. name: support_3speed_fan
  147. mapping:
  148. - dps_val: 16
  149. value: true
  150. - value: false
  151. - id: 109
  152. type: bitfield
  153. name: temperature_unit
  154. mapping:
  155. - dps_val: 32
  156. value: F
  157. - value: C
  158. - id: 110
  159. type: boolean
  160. name: swing_horizontal_mode
  161. mapping:
  162. - dps_val: true
  163. value: "on"
  164. available: support_both_swing
  165. - dps_val: false
  166. value: "off"
  167. available: support_both_swing
  168. - id: 10
  169. type: boolean
  170. name: swing_real_horizontal_mode
  171. mapping:
  172. - dps_val: true
  173. value: "on"
  174. available: support_hswing
  175. - dps_val: false
  176. value: "off"
  177. available: support_hswing
  178. - entity: switch
  179. translation_key: ionizer
  180. hidden: unavailable
  181. # no mention of ionizer/anion in manual but unit still beeps
  182. # when the value is toggled
  183. dps:
  184. - id: 11
  185. type: boolean
  186. name: switch
  187. - id: 109
  188. type: bitfield
  189. name: available
  190. mapping:
  191. - dps_val: 4
  192. value: true
  193. - value: false
  194. - entity: binary_sensor
  195. class: problem
  196. category: diagnostic
  197. dps:
  198. - id: 20
  199. type: bitfield
  200. name: sensor
  201. mapping:
  202. - dps_val: 0
  203. value: false
  204. - dps_val: 4
  205. value: false
  206. - value: true
  207. - id: 20
  208. type: bitfield
  209. name: fault_code
  210. - entity: binary_sensor
  211. translation_key: tank_full
  212. category: diagnostic
  213. dps:
  214. - id: 20
  215. type: bitfield
  216. name: sensor
  217. mapping:
  218. - dps_val: 4
  219. value: true
  220. - value: false
  221. - entity: switch
  222. translation_key: sleep
  223. dps:
  224. - id: 103
  225. type: boolean
  226. name: switch
  227. - entity: number
  228. name: "On timer"
  229. category: config
  230. class: duration
  231. translation_key: timer
  232. dps:
  233. - id: 104
  234. type: integer
  235. name: value
  236. unit: min
  237. range:
  238. min: 0
  239. max: 86400
  240. mapping:
  241. - scale: 60
  242. step: 60
  243. - entity: number
  244. name: "Off timer"
  245. category: config
  246. class: duration
  247. translation_key: timer
  248. dps:
  249. - id: 105
  250. type: integer
  251. name: value
  252. unit: min
  253. range:
  254. min: 0
  255. max: 86400
  256. mapping:
  257. - scale: 60
  258. step: 60