duux_blizzard_portable_aircon.yaml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. name: Air conditioner
  2. products:
  3. - id: zhmv8syot6ye4kjo
  4. name: Duux Blizzard
  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: auto
  18. value: auto
  19. - dps_val: cool
  20. value: cool
  21. - dps_val: dry
  22. value: dry
  23. - dps_val: fan
  24. value: fan_only
  25. - id: 2
  26. type: string
  27. name: mode
  28. - id: 3
  29. type: string
  30. name: fan_mode
  31. mapping:
  32. - dps_val: low
  33. value: low
  34. - dps_val: mid
  35. value: medium
  36. - dps_val: high
  37. value: high
  38. - id: 5
  39. type: integer
  40. name: temperature
  41. range:
  42. min: 18
  43. max: 32
  44. mapping:
  45. - constraint: temperature_unit
  46. conditions:
  47. - dps_val: true
  48. value_redirect: temp_set_f
  49. range:
  50. min: 64
  51. max: 90
  52. - id: 8
  53. type: integer
  54. name: current_temperature
  55. mapping:
  56. - constraint: temperature_unit
  57. conditions:
  58. - dps_val: true
  59. value_redirect: temp_current_f
  60. - id: 9
  61. type: bitfield
  62. name: fault_code
  63. - id: 10
  64. type: integer
  65. name: temp_set_f
  66. optional: true
  67. hidden: true
  68. range:
  69. min: 64
  70. max: 90
  71. - id: 11
  72. type: integer
  73. name: temp_current_f
  74. hidden: true
  75. optional: true
  76. - id: 14
  77. type: boolean
  78. name: temperature_unit
  79. mapping:
  80. - dps_val: false
  81. value: C
  82. - dps_val: true
  83. value: F
  84. secondary_entities:
  85. - entity: number
  86. translation_key: timer
  87. category: config
  88. dps:
  89. - id: 4
  90. name: value
  91. type: integer
  92. unit: h
  93. range:
  94. min: 0
  95. max: 12
  96. - entity: switch
  97. name: Sleep
  98. category: config
  99. icon: "mdi:power-sleep"
  100. dps:
  101. - id: 6
  102. type: boolean
  103. name: switch
  104. - entity: switch
  105. translation_key: ionizer
  106. category: config
  107. dps:
  108. - id: 7
  109. type: boolean
  110. name: switch
  111. - entity: binary_sensor
  112. class: problem
  113. category: diagnostic
  114. dps:
  115. - id: 9
  116. type: bitfield
  117. name: sensor
  118. mapping:
  119. - dps_val: 0
  120. value: false
  121. - value: true
  122. - entity: switch
  123. name: Display ionizer
  124. category: config
  125. dps:
  126. - id: 12
  127. type: boolean
  128. name: switch
  129. - entity: switch
  130. name: Display mode
  131. category: config
  132. dps:
  133. - id: 13
  134. type: boolean
  135. name: switch
  136. - entity: select
  137. translation_key: temperature_unit
  138. category: config
  139. dps:
  140. - id: 14
  141. type: boolean
  142. name: option
  143. mapping:
  144. - dps_val: false
  145. value: celsius
  146. - dps_val: true
  147. value: fahrenheit
  148. - entity: sensor
  149. translation_key: time_remaining
  150. class: duration
  151. category: config
  152. dps:
  153. - id: 15
  154. type: integer
  155. name: sensor