rojeco_pet_feeder.yaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. name: Pet feeder
  2. products:
  3. - id: hbiwalfrzqfzv2cq
  4. manufacturer: Rojeco
  5. model: PTM-001
  6. entities:
  7. - entity: button
  8. icon: "mdi:food-drumstick"
  9. name: Quick feed
  10. dps:
  11. - id: 2
  12. type: boolean
  13. name: button
  14. optional: true
  15. - entity: sensor
  16. icon: "mdi:paw"
  17. name: Last amount
  18. category: diagnostic
  19. dps:
  20. - id: 14
  21. name: sensor
  22. type: integer
  23. unit: portions
  24. optional: true
  25. - entity: sensor
  26. category: diagnostic
  27. name: Feed state
  28. icon: "mdi:valve"
  29. class: enum
  30. dps:
  31. - id: 4
  32. name: sensor
  33. type: string
  34. mapping:
  35. - dps_val: standby
  36. value: Standby
  37. - dps_val: feeding
  38. value: Feeding
  39. - dps_val: done
  40. value: Done
  41. - entity: number
  42. name: Manual Feed
  43. category: config
  44. icon: "mdi:paw"
  45. dps:
  46. - id: 3
  47. type: integer
  48. name: value
  49. unit: portions
  50. range:
  51. min: 1
  52. max: 60
  53. - entity: switch
  54. name: Slow Feed
  55. category: config
  56. icon: "mdi:speedometer-slow"
  57. dps:
  58. - id: 23
  59. type: boolean
  60. name: switch
  61. - entity: light
  62. translation_key: indicator
  63. category: config
  64. dps:
  65. - id: 17
  66. type: boolean
  67. name: switch
  68. - entity: binary_sensor
  69. name: Empty food
  70. icon: "mdi:seed-off-outline"
  71. class: problem
  72. category: diagnostic
  73. dps:
  74. - id: 13
  75. type: bitfield
  76. name: sensor
  77. mapping:
  78. - dps_val: 2
  79. value: true
  80. - value: false
  81. - entity: binary_sensor
  82. class: problem
  83. category: diagnostic
  84. dps:
  85. - id: 13
  86. type: bitfield
  87. name: sensor
  88. mapping:
  89. - dps_val: 0
  90. value: false
  91. - dps_val: 2
  92. value: false
  93. - value: true
  94. - id: 13
  95. type: bitfield
  96. name: fault_code
  97. - entity: sensor
  98. name: Battery level
  99. class: battery
  100. category: diagnostic
  101. dps:
  102. - id: 10
  103. type: integer
  104. name: sensor
  105. unit: "%"
  106. class: measurement
  107. optional: true