duux_blizzard_portable_aircon.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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: cold
  18. value: cool
  19. - dps_val: wind
  20. value: fan_only
  21. - dps_val: dry
  22. value: dry
  23. - dps_val: auto
  24. value: auto
  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: middle
  35. value: medium
  36. - dps_val: high
  37. value: high
  38. - id: 4
  39. type: integer
  40. name: unknown_4
  41. - id: 5
  42. type: integer
  43. name: temperature
  44. range:
  45. min: 18
  46. max: 32
  47. mapping:
  48. - constraint: temperature_unit
  49. conditions:
  50. - dps_val: true
  51. value_redirect: temp_set_f
  52. range:
  53. min: 64
  54. max: 90
  55. - id: 8
  56. type: integer
  57. name: current_temperature
  58. mapping:
  59. - constraint: temperature_unit
  60. conditions:
  61. - dps_val: true
  62. value_redirect: temp_current_f
  63. - id: 9
  64. type: bitfield
  65. name: fault_code
  66. - id: 10
  67. type: integer
  68. name: temp_set_f
  69. optional: true
  70. range:
  71. min: 64
  72. max: 90
  73. hidden: true
  74. - id: 11
  75. type: integer
  76. name: temp_current_f
  77. hidden: true
  78. optional: true
  79. - id: 14
  80. type: boolean
  81. name: temperature_unit
  82. mapping:
  83. - dps_val: false
  84. value: C
  85. - dps_val: true
  86. value: F
  87. - id: 15
  88. # Range and units unknown, so we cannot make this a timer
  89. type: integer
  90. name: countdown
  91. secondary_entities:
  92. - entity: switch
  93. name: Sleep
  94. icon: "mdi:weather-night"
  95. dps:
  96. - id: 6
  97. type: boolean
  98. name: switch
  99. - entity: switch
  100. name: Ionizer
  101. category: config
  102. dps:
  103. - id: 7
  104. type: boolean
  105. name: switch
  106. - entity: binary_sensor
  107. name: Fault
  108. class: problem
  109. category: diagnostic
  110. dps:
  111. - id: 9
  112. type: bitfield
  113. name: sensor
  114. mapping:
  115. - dps_val: 0
  116. value: false
  117. - value: true
  118. - entity: switch
  119. name: Display ionizer
  120. category: config
  121. dps:
  122. - id: 12
  123. type: boolean
  124. name: switch
  125. - entity: switch
  126. name: Display mode
  127. category: config
  128. dps:
  129. - id: 13
  130. type: boolean
  131. name: switch
  132. - entity: select
  133. name: Temperature unit
  134. icon: "mdi:temperature-celsius"
  135. category: config
  136. dps:
  137. - id: 14
  138. type: boolean
  139. name: option
  140. mapping:
  141. - dps_val: false
  142. value: Celsius
  143. - dps_val: true
  144. value: Fahrenheit