carro_ves1011_humidifier.yaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. name: Humidifier
  2. products:
  3. - id: g5wedazavod2wg3h
  4. name: Carro PH-805-24
  5. primary_entity:
  6. entity: humidifier
  7. class: humidifier
  8. dps:
  9. - id: 1
  10. name: switch
  11. type: boolean
  12. - id: 2
  13. name: mode
  14. type: boolean
  15. mapping:
  16. - dps_val: true
  17. value: auto
  18. - dps_val: false
  19. value: normal
  20. - id: 13
  21. name: humidity
  22. type: integer
  23. range:
  24. min: 40
  25. max: 90
  26. - id: 14
  27. name: current_humidity
  28. type: integer
  29. secondary_entities:
  30. - entity: fan
  31. icon: "mdi:sprinkler-variant"
  32. name: Spray
  33. dps:
  34. - id: 1
  35. type: boolean
  36. name: switch
  37. - id: 23
  38. type: string
  39. name: speed
  40. mapping:
  41. - dps_val: level_1
  42. value: 33
  43. - dps_val: level_2
  44. value: 67
  45. - dps_val: level_3
  46. value: 100
  47. - entity: light
  48. name: Display
  49. icon: "mdi:television-ambient-light"
  50. category: config
  51. dps:
  52. - id: 5
  53. name: switch
  54. type: boolean
  55. mapping:
  56. - dps_val: true
  57. value: false
  58. - dps_val: false
  59. value: true
  60. - entity: switch
  61. name: Sleep
  62. icon: "mdi:power-sleep"
  63. category: config
  64. dps:
  65. - id: 16
  66. type: boolean
  67. name: switch
  68. optional: true
  69. mapping:
  70. - dps_val: null
  71. value: false
  72. hidden: true
  73. - entity: select
  74. name: Timer
  75. icon: "mdi:timer"
  76. category: config
  77. dps:
  78. - id: 19
  79. name: option
  80. type: string
  81. mapping:
  82. - dps_val: cancel
  83. value: "Off"
  84. - dps_val: 1h
  85. value: 1 hour
  86. - dps_val: 2h
  87. value: 2 hours
  88. - dps_val: 3h
  89. value: 3 hours
  90. - dps_val: 4h
  91. value: 4 hours
  92. - dps_val: 5h
  93. value: 5 hours
  94. - dps_val: 6h
  95. value: 6 hours
  96. - dps_val: 7h
  97. value: 7 hours
  98. - dps_val: 8h
  99. value: 8 hours
  100. - dps_val: 9h
  101. value: 9 hours
  102. - entity: binary_sensor
  103. name: Tank empty
  104. class: problem
  105. category: diagnostic
  106. dps:
  107. - id: 22
  108. type: bitfield
  109. name: sensor
  110. mapping:
  111. - dps_val: 0
  112. value: false
  113. - value: true
  114. - id: 22
  115. name: fault_code
  116. type: bitfield