petlibro_camera_feeder.yaml 5.7 KB

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