petlibro_camera_feeder.yaml 5.2 KB

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