jjpro_jpd01_dehumidifier.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. name: JJPro JPD01 dehumidifier
  2. products:
  3. - id: j4aeex9xltjayqxf
  4. primary_entity:
  5. entity: humidifier
  6. class: dehumidifier
  7. dps:
  8. - id: 1
  9. name: switch
  10. type: boolean
  11. mapping:
  12. - dps_val: false
  13. icon: "mdi:air-humidifier-off"
  14. icon_priority: 3
  15. - dps_val: true
  16. icon: "mdi:air-humidifier"
  17. icon_priority: 5
  18. - id: 2
  19. name: mode
  20. type: string
  21. mapping:
  22. - dps_val: "0"
  23. value: normal
  24. icon: "mdi:water-outline"
  25. icon_priority: 4
  26. - dps_val: "1"
  27. value: boost
  28. icon: "mdi:water-plus-outline"
  29. icon_priority: 4
  30. - dps_val: "2"
  31. value: laundry
  32. icon: "mdi:tshirt-crew-outline"
  33. icon_priority: 4
  34. - dps_val: "3"
  35. value: purify
  36. icon: "mdi:tailwind"
  37. icon_priority: 4
  38. - id: 4
  39. type: integer
  40. name: humidity
  41. range:
  42. min: 30
  43. max: 80
  44. mapping:
  45. - step: 5
  46. - id: 11
  47. type: bitfield
  48. name: error
  49. mapping:
  50. - dps_val: 8
  51. value: "Tank full or missing"
  52. icon: "mdi:cup-water"
  53. icon_priority: 1
  54. - dps_val: 0
  55. value: "OK"
  56. - id: 101
  57. type: boolean
  58. name: unknown_101
  59. - id: 104
  60. type: integer
  61. name: current_humidity
  62. - id: 105
  63. type: boolean
  64. name: defrosting
  65. hidden: true
  66. mapping:
  67. - dps_val: true
  68. icon: "mdi:snowflake-melt"
  69. icon_priority: 2
  70. secondary_entities:
  71. - entity: fan
  72. dps:
  73. - id: 1
  74. type: boolean
  75. name: switch
  76. - id: 6
  77. type: string
  78. name: speed
  79. mapping:
  80. - dps_val: "1"
  81. value: 50
  82. - dps_val: "3"
  83. value: 100
  84. - entity: switch
  85. translation_key: ionizer
  86. dps:
  87. - id: 5
  88. type: boolean
  89. name: switch
  90. - entity: switch
  91. translation_key: sleep
  92. dps:
  93. - id: 102
  94. type: boolean
  95. name: switch
  96. - entity: sensor
  97. class: temperature
  98. dps:
  99. - id: 103
  100. type: integer
  101. name: sensor
  102. unit: C
  103. class: measurement
  104. - entity: binary_sensor
  105. translation_key: tank_full
  106. category: diagnostic
  107. dps:
  108. - id: 11
  109. type: bitfield
  110. name: sensor
  111. mapping:
  112. - dps_val: 0
  113. value: false
  114. - value: true
  115. - entity: binary_sensor
  116. translation_key: defrost
  117. category: diagnostic
  118. dps:
  119. - id: 105
  120. type: boolean
  121. name: sensor
  122. - entity: number
  123. translation_key: timer
  124. category: config
  125. dps:
  126. - id: 12
  127. name: value
  128. type: integer
  129. unit: h
  130. range:
  131. min: 0
  132. max: 24