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