smart_watering_device.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. name: Smart watering device
  2. products:
  3. - id: abzzvtulukkwzynv
  4. manufacturer: Beca Smart
  5. model: BAF-908
  6. entities:
  7. - entity: valve
  8. class: water
  9. dps:
  10. - id: 1
  11. name: valve
  12. type: boolean
  13. - id: 48
  14. type: string
  15. optional: true
  16. name: schedule
  17. - entity: select
  18. name: Mode
  19. icon: "mdi:auto-mode"
  20. dps:
  21. - id: 2
  22. type: string
  23. name: option
  24. mapping:
  25. - dps_val: auto
  26. value: Auto
  27. - dps_val: manual
  28. value: Manual
  29. - entity: number
  30. class: duration
  31. translation_key: timer
  32. category: config
  33. dps:
  34. - id: 56
  35. type: integer
  36. name: value
  37. unit: s
  38. range:
  39. min: 0
  40. max: 360
  41. - entity: select
  42. name: Pump
  43. icon: "mdi:pump"
  44. category: config
  45. dps:
  46. - id: 28
  47. type: string
  48. name: option
  49. mapping:
  50. - dps_val: "PumpA"
  51. value: "Pump A"
  52. - dps_val: "PumpB"
  53. value: "Pump B"
  54. - dps_val: "PumpAB"
  55. value: "Both pumps"
  56. - entity: number
  57. name: Repeat interval
  58. icon: "mdi:repeat"
  59. category: config
  60. dps:
  61. - id: 101
  62. type: integer
  63. name: value
  64. unit: h
  65. range:
  66. min: 0
  67. max: 60
  68. - entity: sensor
  69. translation_key: time_remaining
  70. class: duration
  71. dps:
  72. - id: 102
  73. type: integer
  74. name: sensor
  75. unit: s
  76. - id: 10
  77. type: integer
  78. name: runtime
  79. unit: s
  80. optional: true