petrust_tkwf002_petfountain.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. name: Pet fountain
  2. products:
  3. - id: 5jdws4vgfzhkq7vs
  4. manufacturer: Petrust
  5. model: TK-WF002
  6. entities:
  7. - entity: switch
  8. icon: "mdi:power"
  9. dps:
  10. - id: 1
  11. type: boolean
  12. name: switch
  13. - entity: select
  14. translation_key: activation_mode
  15. dps:
  16. - id: 2
  17. type: string
  18. name: option
  19. mapping:
  20. - dps_val: "normal"
  21. value: "normal"
  22. - dps_val: "smart"
  23. value: "smart"
  24. - entity: valve
  25. class: water
  26. dps:
  27. - id: 11
  28. type: string
  29. name: valve
  30. mapping:
  31. - dps_val: "close"
  32. value: 0
  33. - dps_val: "low"
  34. value: 25
  35. - dps_val: "middle"
  36. value: 50
  37. - dps_val: "high"
  38. value: 100
  39. - entity: light
  40. translation_key: indicator
  41. category: config
  42. dps:
  43. - id: 12
  44. type: integer
  45. name: brightness
  46. range:
  47. min: 0
  48. max: 4
  49. - entity: number
  50. name: Filter lifetime
  51. icon: "mdi:air-filter"
  52. category: config
  53. dps:
  54. - id: 7
  55. type: integer
  56. name: value
  57. range:
  58. min: 0
  59. max: 30
  60. - entity: sensor
  61. translation_key: filter_life
  62. class: duration
  63. category: diagnostic
  64. dps:
  65. - id: 3
  66. type: integer
  67. name: sensor
  68. unit: d
  69. - entity: button
  70. translation_key: filter_reset
  71. category: config
  72. dps:
  73. - id: 5
  74. type: boolean
  75. name: button
  76. - entity: number
  77. name: Clean interval
  78. icon: "mdi:pump"
  79. category: config
  80. dps:
  81. - id: 8
  82. type: integer
  83. name: value
  84. range:
  85. min: 0
  86. max: 20
  87. - entity: sensor
  88. name: Clean in
  89. icon: "mdi:pump"
  90. class: duration
  91. category: diagnostic
  92. dps:
  93. - id: 4
  94. type: integer
  95. name: sensor
  96. unit: d
  97. - entity: button
  98. name: Pump cleaned
  99. icon: "mdi:pump"
  100. category: config
  101. dps:
  102. - id: 6
  103. type: boolean
  104. name: button
  105. - entity: sensor
  106. name: Water level
  107. class: enum
  108. category: diagnostic
  109. dps:
  110. - id: 9
  111. name: sensor
  112. type: string
  113. mapping:
  114. - dps_val: "low"
  115. icon: "mdi:cup-outline"
  116. value: "Low"
  117. - dps_val: "middle"
  118. icon: "mdi:cup-water"
  119. value: "Middle"
  120. - dps_val: "high"
  121. icon: "mdi:cup"
  122. value: "High"
  123. - entity: sensor
  124. name: Water age
  125. class: duration
  126. icon: "mdi:water-opacity"
  127. category: diagnostic
  128. dps:
  129. - id: 24
  130. type: integer
  131. name: sensor
  132. unit: d
  133. - entity: button
  134. name: Change water
  135. icon: "mdi:water-sync"
  136. category: config
  137. dps:
  138. - id: 25
  139. type: boolean
  140. name: button
  141. - entity: switch
  142. translation_key: uv_sterilization
  143. category: config
  144. dps:
  145. - id: 14
  146. type: boolean
  147. name: switch
  148. - entity: number
  149. name: UV runtime
  150. class: duration
  151. icon: "mdi:timer-outline"
  152. category: config
  153. dps:
  154. - id: 15
  155. type: integer
  156. name: value
  157. unit: min
  158. range:
  159. min: 0
  160. max: 90
  161. - entity: binary_sensor
  162. class: problem
  163. category: diagnostic
  164. dps:
  165. - id: 23
  166. type: bitfield
  167. name: sensor
  168. mapping:
  169. - dps_val: 0
  170. value: false
  171. - value: true
  172. - id: 23
  173. type: bitfield
  174. name: fault_code