rojeco_pet_feeder.yaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. name: Pet feeder
  2. product:
  3. - id: hbiwalfrzqfzv2cq
  4. name: Rojeco PTM-001
  5. primary_entity:
  6. entity: button
  7. icon: "mdi:food-drumstick"
  8. name: Quick feed
  9. dps:
  10. - id: 2
  11. type: boolean
  12. name: button
  13. - id: 13
  14. type: bitfield
  15. name: fault_code
  16. secondary_entities:
  17. - entity: sensor
  18. icon: "mdi:paw"
  19. name: Last amount
  20. category: diagnostic
  21. dps:
  22. - id: 14
  23. name: sensor
  24. type: integer
  25. unit: portions
  26. - entity: sensor
  27. category: diagnostic
  28. name: Feed state
  29. icon: "mdi:valve"
  30. class: enum
  31. dps:
  32. - id: 4
  33. name: sensor
  34. type: string
  35. mapping:
  36. - dps_val: standby
  37. value: Standby
  38. - dps_val: feeding
  39. value: Feeding
  40. - dps_val: done
  41. value: Done
  42. - entity: number
  43. name: Manual Feed
  44. category: config
  45. icon: "mdi:paw"
  46. dps:
  47. - id: 3
  48. type: integer
  49. name: value
  50. unit: portions
  51. range:
  52. min: 1
  53. max: 60
  54. - entity: switch
  55. name: Slow Feed
  56. category: config
  57. icon: "mdi:speedometer-slow"
  58. dps:
  59. - id: 23
  60. type: boolean
  61. name: switch
  62. - entity: light
  63. icon: "mdi:alarm-light"
  64. name: Indicator
  65. category: config
  66. dps:
  67. - id: 17
  68. type: boolean
  69. name: switch
  70. - entity: binary_sensor
  71. name: Empty food
  72. icon: "mdi:seed-off-outline"
  73. class: problem
  74. category: diagnostic
  75. dps:
  76. - id: 13
  77. type: bitfield
  78. name: sensor
  79. mapping:
  80. - dps_val: 2
  81. value: true
  82. - value: false