petree_cube_litter_box.yaml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. name: Litter box
  2. products:
  3. - id: 1kufldu6g6l53rsy
  4. manufacturer: Petree
  5. model: Petree 2.0
  6. - id: witgtqod4iu8tizi
  7. manufacturer: Petree
  8. model: Petree 2.0
  9. entities:
  10. - entity: number
  11. name: Delay clean time
  12. category: config
  13. class: duration
  14. dps:
  15. - id: 5
  16. type: integer
  17. name: value
  18. unit: min
  19. range:
  20. min: 1
  21. max: 60
  22. - entity: light
  23. translation_key: indicator
  24. category: config
  25. dps:
  26. - id: 102
  27. type: boolean
  28. name: switch
  29. - entity: switch
  30. translation_key: sleep
  31. category: config
  32. dps:
  33. - id: 103
  34. type: boolean
  35. name: switch
  36. - entity: button
  37. name: Deodorize
  38. category: config
  39. dps:
  40. - id: 104
  41. type: boolean
  42. name: button
  43. - entity: switch
  44. translation_key: do_not_disturb
  45. category: config
  46. dps:
  47. - id: 105
  48. type: boolean
  49. name: switch
  50. optional: true
  51. - entity: number
  52. name: Do not disturb start time
  53. category: config
  54. dps:
  55. - id: 106
  56. type: integer
  57. name: value
  58. optional: true
  59. unit: min
  60. range:
  61. min: 0
  62. max: 1439
  63. - entity: number
  64. name: Do not disturb end time
  65. category: config
  66. dps:
  67. - id: 107
  68. type: integer
  69. name: value
  70. optional: true
  71. unit: min
  72. range:
  73. min: 0
  74. max: 1439
  75. - entity: switch
  76. translation_key: sound
  77. category: config
  78. dps:
  79. - id: 108
  80. type: boolean
  81. name: switch
  82. - entity: binary_sensor
  83. class: problem
  84. category: diagnostic
  85. dps:
  86. - id: 111
  87. type: bitfield
  88. name: sensor
  89. mapping:
  90. - dps_val: 0
  91. value: false
  92. - value: true
  93. - id: 111
  94. type: bitfield
  95. name: fault_code
  96. - id: 111
  97. type: bitfield
  98. name: description
  99. mapping:
  100. - dps_val: 0
  101. value: No pop-up box
  102. - dps_val: 1
  103. value: Trash can is full
  104. - dps_val: 2
  105. value: Trash can is not installed
  106. - dps_val: 4
  107. value: Cover is not installed
  108. - dps_val: 8
  109. value: Cat is approaching
  110. - dps_val: 16
  111. value: Cabin temperature is too high
  112. - dps_val: 32
  113. value: Self-check in progress
  114. - entity: binary_sensor
  115. name: Trash status
  116. translation_key: tank_full
  117. category: diagnostic
  118. dps:
  119. - id: 112
  120. type: boolean
  121. name: sensor
  122. - entity: sensor
  123. class: temperature
  124. category: diagnostic
  125. dps:
  126. - id: 121
  127. type: integer
  128. name: sensor
  129. unit: C
  130. mapping:
  131. - scale: 10
  132. - entity: button
  133. class: restart
  134. category: config
  135. dps:
  136. - id: 125
  137. type: boolean
  138. name: button
  139. - entity: button
  140. name: Clean
  141. category: config
  142. dps:
  143. - id: 126
  144. type: boolean
  145. name: button
  146. - entity: button
  147. name: Dump Sand
  148. category: config
  149. dps:
  150. - id: 118
  151. type: boolean
  152. name: button
  153. - entity: binary_sensor
  154. name: Cleaning
  155. class: running
  156. category: diagnostic
  157. dps:
  158. - id: 124
  159. type: bitfield
  160. name: sensor
  161. mapping:
  162. - dps_val: 0
  163. value: false
  164. - value: true