v330l_DU4L_petfeeder.yaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. name: Pet feeder
  2. products:
  3. - id: cjrm04np59ut4pwb
  4. name: V330L-DU4L-VS Petfeeder
  5. # Needs to be added using the 3.2 protocol
  6. primary_entity:
  7. entity: number
  8. name: Manual feed
  9. icon: "mdi:food-drumstick"
  10. dps:
  11. - id: 201
  12. type: integer
  13. name: value
  14. unit: portions
  15. optional: true
  16. persist: false
  17. range:
  18. min: 0
  19. max: 10
  20. - id: 202
  21. type: integer
  22. name: food_weight
  23. optional: true
  24. mapping:
  25. - scale: 10
  26. - id: 203
  27. type: integer
  28. name: control
  29. optional: true
  30. - id: 204
  31. type: integer
  32. name: realtime_data
  33. optional: true
  34. - id: 205
  35. type: integer
  36. name: weight
  37. optional: true
  38. - id: 207
  39. type: string
  40. name: schedule
  41. optional: true
  42. - id: 208
  43. type: string
  44. name: voice_record
  45. optional: true
  46. secondary_entities:
  47. - entity: light
  48. translation_key: indicator
  49. category: config
  50. dps:
  51. - id: 101
  52. type: boolean
  53. name: switch
  54. - entity: switch
  55. name: Flip
  56. icon: "mdi:flip-horizontal"
  57. category: config
  58. dps:
  59. - id: 103
  60. type: boolean
  61. name: switch
  62. optional: true
  63. - entity: switch
  64. name: Timestamp
  65. icon: "mdi:clock-time-eight"
  66. category: config
  67. dps:
  68. - id: 104
  69. type: boolean
  70. name: switch
  71. optional: true
  72. - entity: switch
  73. name: Motion notification
  74. icon: "mdi:motion-sensor"
  75. category: config
  76. dps:
  77. - id: 134
  78. type: boolean
  79. name: switch
  80. optional: true
  81. - entity: select
  82. name: Motion sensitivity
  83. icon: "mdi:motion-sensor"
  84. category: config
  85. dps:
  86. - id: 106
  87. type: string
  88. name: option
  89. optional: true
  90. mapping:
  91. - dps_val: "0"
  92. value: Low
  93. - dps_val: "1"
  94. value: Medium
  95. - dps_val: "2"
  96. value: High
  97. - entity: select
  98. name: Nightvision
  99. icon: "mdi:weather-night"
  100. category: config
  101. dps:
  102. - id: 108
  103. type: string
  104. name: option
  105. optional: true
  106. mapping:
  107. - dps_val: "0"
  108. value: Auto
  109. - dps_val: "1"
  110. value: "Off"
  111. - dps_val: "2"
  112. value: "On"
  113. - entity: binary_sensor
  114. name: Food empty
  115. class: problem
  116. category: diagnostic
  117. dps:
  118. - id: 206
  119. type: bitfield
  120. name: sensor
  121. optional: true
  122. mapping:
  123. - dps_val: 1
  124. value: true
  125. - value: false
  126. - entity: binary_sensor
  127. name: Not enough food
  128. class: problem
  129. category: diagnostic
  130. dps:
  131. - id: 206
  132. type: bitfield
  133. name: sensor
  134. optional: true
  135. mapping:
  136. - dps_val: 2
  137. value: true
  138. - value: false
  139. - entity: binary_sensor
  140. name: Blocked
  141. class: problem
  142. category: diagnostic
  143. dps:
  144. - id: 206
  145. type: bitfield
  146. name: sensor
  147. optional: true
  148. mapping:
  149. - dps_val: 4
  150. value: true
  151. - value: false
  152. - entity: sensor
  153. name: Snapshot data
  154. category: diagnostic
  155. dps:
  156. - id: 115
  157. type: base64
  158. name: sensor
  159. optional: true
  160. sensitive: true