petlibro_camera_feeder.yaml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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. name: Battery
  182. class: battery
  183. category: diagnostic
  184. dps:
  185. - id: 235
  186. type: integer
  187. name: sensor
  188. unit: "%"
  189. class: measurement
  190. - entity: binary_sensor
  191. name: Food empty
  192. class: problem
  193. category: diagnostic
  194. dps:
  195. - id: 236
  196. type: bitfield
  197. name: sensor
  198. optional: true
  199. mapping:
  200. - dps_val: 1
  201. value: true
  202. - value: false
  203. - entity: binary_sensor
  204. name: Blocked
  205. class: problem
  206. category: diagnostic
  207. dps:
  208. - id: 236
  209. type: bitfield
  210. name: sensor
  211. optional: true
  212. mapping:
  213. - dps_val: 2
  214. value: true
  215. - value: false
  216. - entity: binary_sensor
  217. name: Battery
  218. class: battery
  219. category: diagnostic
  220. dps:
  221. - id: 236
  222. type: bitfield
  223. name: sensor
  224. optional: true
  225. mapping:
  226. - dps_val: 8
  227. value: true
  228. - value: false
  229. - entity: number
  230. name: Voice playback times
  231. category: config
  232. icon: "mdi:account-voice"
  233. dps:
  234. - id: 238
  235. type: integer
  236. name: value
  237. range:
  238. min: 0
  239. max: 10
  240. - id: 239
  241. type: string
  242. name: operation
  243. - id: 240
  244. type: string
  245. name: voice
  246. - id: 242
  247. type: string
  248. name: status
  249. - id: 248
  250. type: string
  251. name: filename
  252. optional: true
  253. - entity: sensor
  254. name: Food level
  255. category: diagnostic
  256. dps:
  257. - id: 241
  258. type: string
  259. name: sensor
  260. - entity: switch
  261. name: Log
  262. icon: "mdi:text-box-multiple-outline"
  263. category: config
  264. dps:
  265. - id: 244
  266. type: boolean
  267. name: switch