petlibro_camera_feeder.yaml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. name: Pet feeder
  2. products:
  3. - id: e1zs835joz1lc85q
  4. name: Petlibro PLAF203
  5. primary_entity:
  6. entity: sensor
  7. name: Status
  8. icon: "mdi:paw"
  9. dps:
  10. - id: 233
  11. type: string
  12. name: sensor
  13. - id: 231
  14. type: hex
  15. name: schedule
  16. - id: 236
  17. type: bitfield
  18. name: fault_code
  19. - id: 237
  20. type: string
  21. name: planned_feed_report
  22. - id: 247
  23. type: string
  24. name: manual_feed_report
  25. secondary_entities:
  26. - entity: switch
  27. name: Indicator
  28. category: config
  29. icon: "mdi:led-on"
  30. dps:
  31. - id: 101
  32. type: boolean
  33. name: switch
  34. - entity: switch
  35. name: Flip
  36. icon: "mdi:flip-horizontal"
  37. category: config
  38. dps:
  39. - id: 103
  40. type: boolean
  41. name: switch
  42. - entity: select
  43. name: Nightvision
  44. icon: "mdi:weather-night"
  45. category: config
  46. dps:
  47. - id: 108
  48. type: string
  49. name: option
  50. mapping:
  51. - dps_val: "0"
  52. value: Auto
  53. - dps_val: "1"
  54. value: "Off"
  55. - dps_val: "2"
  56. value: "On"
  57. - entity: button
  58. name: Memory card format
  59. icon: "mdi:micro-sd"
  60. category: config
  61. dps:
  62. - id: 111
  63. type: boolean
  64. name: button
  65. - id: 110
  66. type: integer
  67. name: status
  68. - id: 109
  69. type: string
  70. name: capacity
  71. - id: 117
  72. type: integer
  73. name: format_state
  74. - entity: camera
  75. name: Camera
  76. dps:
  77. - id: 105
  78. type: boolean
  79. name: switch
  80. mapping:
  81. - dps_val: false
  82. value: true
  83. - dps_val: true
  84. value: false
  85. - id: 113
  86. type: boolean
  87. name: motion_enable
  88. optional: true
  89. - id: 115
  90. type: base64
  91. name: snapshot
  92. optional: true
  93. - id: 150
  94. type: boolean
  95. name: record
  96. - entity: switch
  97. name: Motion detection
  98. icon: "mdi:motion-sensor"
  99. category: config
  100. dps:
  101. - id: 134
  102. type: boolean
  103. name: switch
  104. - entity: select
  105. name: Motion sensitivity
  106. icon: "mdi:motion-sensor"
  107. category: config
  108. dps:
  109. - id: 106
  110. type: string
  111. name: option
  112. mapping:
  113. - dps_val: "0"
  114. value: Low
  115. - dps_val: "1"
  116. value: Medium
  117. - dps_val: "2"
  118. value: High
  119. - entity: switch
  120. name: Sound detection
  121. icon: "mdi:ear-hearing"
  122. category: config
  123. dps:
  124. - id: 139
  125. type: boolean
  126. name: switch
  127. - entity: select
  128. name: Sound sensitivity
  129. icon: "mdi:ear-hearing"
  130. category: config
  131. dps:
  132. - id: 140
  133. type: string
  134. name: option
  135. mapping:
  136. - dps_val: "0"
  137. value: Low
  138. - dps_val: "1"
  139. value: High
  140. - entity: select
  141. name: Recording mode
  142. icon: "mdi:video"
  143. category: config
  144. dps:
  145. - id: 151
  146. type: string
  147. name: option
  148. mapping:
  149. - dps_val: "1"
  150. value: Event
  151. - dps_val: "2"
  152. value: Continuous
  153. - entity: number
  154. name: Manual feed
  155. category: config
  156. icon: "mdi:food-drumstick"
  157. dps:
  158. - id: 232
  159. type: integer
  160. name: value
  161. optional: true
  162. range:
  163. min: 0
  164. max: 50
  165. persist: false
  166. mapping:
  167. - dps_val: null
  168. value: 0
  169. - entity: sensor
  170. name: Battery
  171. class: battery
  172. category: diagnostic
  173. dps:
  174. - id: 235
  175. type: integer
  176. name: sensor
  177. unit: "%"
  178. class: measurement
  179. - entity: binary_sensor
  180. name: Food empty
  181. class: problem
  182. category: diagnostic
  183. dps:
  184. - id: 236
  185. type: bitfield
  186. name: sensor
  187. mapping:
  188. - dps_val: 1
  189. value: true
  190. - value: false
  191. - entity: binary_sensor
  192. name: Blocked
  193. class: problem
  194. category: diagnostic
  195. dps:
  196. - id: 236
  197. type: bitfield
  198. name: sensor
  199. mapping:
  200. - dps_val: 2
  201. value: true
  202. - value: false
  203. - entity: binary_sensor
  204. name: Battery
  205. class: battery
  206. category: diagnostic
  207. dps:
  208. - id: 236
  209. type: bitfield
  210. name: sensor
  211. mapping:
  212. - dps_val: 8
  213. value: true
  214. - value: false
  215. - entity: number
  216. name: Voice playback times
  217. category: config
  218. icon: "mdi:account-voice"
  219. dps:
  220. - id: 238
  221. type: integer
  222. name: value
  223. range:
  224. min: 0
  225. max: 10
  226. - id: 239
  227. type: string
  228. name: operation
  229. - id: 240
  230. type: string
  231. name: voice
  232. - id: 242
  233. type: string
  234. name: status
  235. - id: 248
  236. type: string
  237. name: filename
  238. optional: true
  239. - entity: sensor
  240. name: Food level
  241. category: diagnostic
  242. dps:
  243. - id: 241
  244. type: string
  245. name: sensor
  246. - entity: switch
  247. name: Log
  248. icon: "mdi:text-box-multiple-outline"
  249. category: config
  250. dps:
  251. - id: 244
  252. type: boolean
  253. name: switch