repetsun_petfeeder.yaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. name: Pet feeder
  2. products:
  3. - id: za7jpjw2nimxkjxt
  4. manufacturer: Repetsun
  5. model: 5L double bowl
  6. entities:
  7. - entity: text
  8. translation_key: meal_plan
  9. category: config
  10. hidden: true
  11. dps:
  12. - id: 1
  13. type: base64
  14. optional: true
  15. name: value
  16. - entity: number
  17. translation_key: manual_feed
  18. category: config
  19. dps:
  20. - id: 3
  21. type: integer
  22. optional: true
  23. name: value
  24. unit: portions
  25. range:
  26. min: 1
  27. max: 12
  28. - entity: sensor
  29. translation_key: status
  30. class: enum
  31. dps:
  32. - id: 4
  33. type: string
  34. name: sensor
  35. mapping:
  36. - dps_val: standby
  37. value: standby
  38. - dps_val: feeding
  39. value: feeding
  40. - dps_val: done
  41. value: feeding_complete
  42. - entity: sensor
  43. translation_key: status
  44. name: Food status
  45. class: enum
  46. dps:
  47. - id: 6
  48. type: string
  49. name: sensor
  50. mapping:
  51. - dps_val: enough
  52. value: normal
  53. - dps_val: insufficient
  54. value: low
  55. - dps_val: run_out
  56. value: no_food
  57. - entity: binary_sensor
  58. class: problem
  59. category: diagnostic
  60. dps:
  61. - id: 13
  62. type: bitfield
  63. name: sensor
  64. mapping:
  65. - dps_val: 0
  66. value: false
  67. - value: true
  68. - id: 13
  69. type: bitfield
  70. name: fault_code
  71. - entity: sensor
  72. name: Last feed
  73. dps:
  74. - id: 14
  75. type: integer
  76. name: sensor
  77. unit: portions
  78. class: measurement
  79. - entity: light
  80. category: config
  81. dps:
  82. - id: 17
  83. type: boolean
  84. name: switch
  85. - entity: switch
  86. name: Slow feed
  87. category: config
  88. dps:
  89. - id: 23
  90. type: boolean
  91. name: switch
  92. - entity: button
  93. translation_key: factory_reset
  94. category: config
  95. dps:
  96. - id: 24
  97. type: boolean
  98. optional: true
  99. name: button