petlibro_camera_feeder.yaml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  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. - entity: switch
  99. name: Motion notification
  100. icon: "mdi:motion-sensor"
  101. category: config
  102. dps:
  103. - id: 134
  104. type: boolean
  105. name: switch
  106. - entity: select
  107. name: Motion sensitivity
  108. icon: "mdi:motion-sensor"
  109. category: config
  110. dps:
  111. - id: 106
  112. type: string
  113. name: option
  114. mapping:
  115. - dps_val: "0"
  116. value: Low
  117. - dps_val: "1"
  118. value: Medium
  119. - dps_val: "2"
  120. value: High
  121. - entity: switch
  122. name: Sound notification
  123. icon: "mdi:ear-hearing"
  124. category: config
  125. dps:
  126. - id: 139
  127. type: boolean
  128. name: switch
  129. - entity: select
  130. name: Sound sensitivity
  131. icon: "mdi:ear-hearing"
  132. category: config
  133. dps:
  134. - id: 140
  135. type: string
  136. name: option
  137. optional: true
  138. mapping:
  139. - dps_val: "0"
  140. value: Low
  141. - dps_val: "1"
  142. value: High
  143. - entity: switch
  144. name: Record
  145. icon: "mdi:record-rec"
  146. dps:
  147. - id: 150
  148. type: boolean
  149. name: switch
  150. optional: true
  151. - entity: select
  152. name: Recording mode
  153. icon: "mdi:video"
  154. category: config
  155. dps:
  156. - id: 151
  157. type: string
  158. name: option
  159. mapping:
  160. - dps_val: "1"
  161. value: Event
  162. - dps_val: "2"
  163. value: Continuous
  164. - entity: number
  165. name: Manual feed
  166. category: config
  167. icon: "mdi:food-drumstick"
  168. dps:
  169. - id: 232
  170. type: integer
  171. name: value
  172. optional: true
  173. range:
  174. min: 0
  175. max: 50
  176. persist: false
  177. mapping:
  178. - dps_val: null
  179. value: 0
  180. - entity: sensor
  181. class: battery
  182. category: diagnostic
  183. dps:
  184. - id: 235
  185. type: integer
  186. name: sensor
  187. unit: "%"
  188. class: measurement
  189. - entity: binary_sensor
  190. name: Food empty
  191. class: problem
  192. category: diagnostic
  193. dps:
  194. - id: 236
  195. type: bitfield
  196. name: sensor
  197. optional: true
  198. mapping:
  199. - dps_val: 1
  200. value: true
  201. - value: false
  202. - entity: binary_sensor
  203. name: Blocked
  204. class: problem
  205. category: diagnostic
  206. dps:
  207. - id: 236
  208. type: bitfield
  209. name: sensor
  210. optional: true
  211. mapping:
  212. - dps_val: 2
  213. value: true
  214. - value: false
  215. - entity: binary_sensor
  216. class: battery
  217. category: diagnostic
  218. dps:
  219. - id: 236
  220. type: bitfield
  221. name: sensor
  222. optional: true
  223. mapping:
  224. - dps_val: 8
  225. value: true
  226. - value: false
  227. - entity: number
  228. name: Voice playback times
  229. category: config
  230. icon: "mdi:account-voice"
  231. dps:
  232. - id: 238
  233. type: integer
  234. name: value
  235. range:
  236. min: 0
  237. max: 10
  238. - id: 239
  239. type: string
  240. name: operation
  241. - id: 240
  242. type: string
  243. name: voice
  244. - id: 242
  245. type: string
  246. name: status
  247. - id: 248
  248. type: string
  249. name: filename
  250. optional: true
  251. - entity: sensor
  252. name: Food level
  253. category: diagnostic
  254. dps:
  255. - id: 241
  256. type: string
  257. name: sensor
  258. - entity: switch
  259. name: Log
  260. icon: "mdi:text-box-multiple-outline"
  261. category: config
  262. dps:
  263. - id: 244
  264. type: boolean
  265. name: switch