leos_loo_too.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. name: Pet toilet
  2. products:
  3. - id: 1badzyvwh1e1hrog
  4. name: "Leo's Loo Too"
  5. primary_entity:
  6. entity: sensor
  7. name: Times used today
  8. icon: "mdi:counter"
  9. dps:
  10. - id: 7
  11. type: integer
  12. name: sensor
  13. secondary_entities:
  14. - entity: switch
  15. name: Power
  16. category: config
  17. icon: "mdi:power"
  18. class: switch
  19. dps:
  20. - id: 1
  21. name: switch
  22. type: boolean
  23. - entity: select
  24. category: config
  25. name: Cleaning mode
  26. icon: "mdi:refresh-auto"
  27. dps:
  28. - id: 2
  29. type: string
  30. name: option
  31. mapping:
  32. - dps_val: auto_clean
  33. value: Auto clean
  34. - dps_val: manual_clean
  35. value: Manual clean
  36. - entity: switch
  37. name: UV sterilization
  38. category: config
  39. icon: "mdi:alarm-light"
  40. class: switch
  41. dps:
  42. - id: 13
  43. name: switch
  44. type: boolean
  45. - entity: light
  46. category: config
  47. dps:
  48. - id: 16
  49. name: switch
  50. type: boolean
  51. - entity: number
  52. category: config
  53. name: Cleaning delay
  54. icon: "mdi:camera-timer"
  55. dps:
  56. - id: 5
  57. type: integer
  58. name: value
  59. range:
  60. min: 6
  61. max: 1200
  62. unit: s
  63. mapping:
  64. - step: 3
  65. - entity: sensor
  66. class: weight
  67. dps:
  68. - id: 6
  69. type: integer
  70. name: sensor
  71. unit: kg
  72. mapping:
  73. - scale: 0.1
  74. - entity: button
  75. icon: "mdi:heat-pump-outline"
  76. name: Manual clean
  77. dps:
  78. - id: 9
  79. type: boolean
  80. name: button