airx_h8_humidifier.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. name: Humidifier
  2. products:
  3. - id: orypuo7ksduqze3x
  4. name: airx纯净加湿器H8Pro
  5. primary_entity:
  6. entity: humidifier
  7. class: humidifier
  8. dps:
  9. - id: 1
  10. name: switch
  11. type: boolean
  12. mapping:
  13. - dps_val: true
  14. icon: "mdi:air-humidifier"
  15. - dps_val: false
  16. icon: "mdi:air-humidifier-off"
  17. - id: 13
  18. name: humidity
  19. type: integer
  20. range:
  21. min: 30
  22. max: 80
  23. - id: 14
  24. name: current_humidity
  25. type: integer
  26. - id: 24
  27. type: string
  28. name: mode
  29. mapping:
  30. - dps_val: AUTO
  31. value: auto
  32. - dps_val: LOW
  33. value: eco
  34. - dps_val: MIDDLE
  35. value: normal
  36. - dps_val: HIGH
  37. value: boost
  38. - dps_val: SLEEP
  39. value: sleep
  40. secondary_entities:
  41. - entity: alarm_control_panel
  42. category: diagnostic
  43. name: 机头分离告警
  44. dps:
  45. - id: 22
  46. type: string
  47. name: alarm_state
  48. mapping:
  49. - dps_val: 0
  50. value: disarmed
  51. - dps_val: 1
  52. value: armed
  53. - entity: switch
  54. name: 除菌
  55. dps:
  56. - id: 21
  57. type: integer
  58. name: switch
  59. - entity: switch
  60. translation_key: evaporator_cleaning
  61. category: config
  62. dps:
  63. - id: 2
  64. type: boolean
  65. name: switch
  66. - entity: switch
  67. translation_key: uv_sterilization
  68. category: config
  69. dps:
  70. - id: 102
  71. type: boolean
  72. name: switch
  73. # tuya提供了面板灯光设置,但H8Pro实测不生效
  74. - entity: light
  75. translation_key: display
  76. category: config
  77. dps:
  78. - id: 5
  79. type: boolean
  80. name: switch
  81. - entity: switch
  82. translation_key: keytone
  83. category: config
  84. dps:
  85. - id: 8
  86. type: boolean
  87. name: switch
  88. - entity: sensor
  89. name: 水位
  90. class: enum
  91. category: diagnostic
  92. dps:
  93. - id: 101
  94. name: sensor
  95. type: string
  96. mapping:
  97. - dps_val: No_water
  98. value: "缺水"
  99. icon: "mdi:water-off"
  100. - dps_val: Low_water
  101. value: "低水位"
  102. icon: "mdi:water-minus"
  103. - dps_val: Middle_water
  104. value: "中水位"
  105. icon: "mdi:water-opacity"
  106. - dps_val: High_water
  107. value: "高水位"
  108. icon: "water-plus"
  109. - dps_val: Full_water
  110. value: "满水"
  111. icon: "mdi:water"
  112. - entity: switch
  113. translation_key: ionizer
  114. dps:
  115. - id: 25
  116. name: switch
  117. type: boolean
  118. - entity: lock
  119. translation_key: child_lock
  120. category: config
  121. dps:
  122. - id: 29
  123. type: boolean
  124. name: lock