smart_watering_device.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. translation_key: mode
  19. dps:
  20. - id: 2
  21. type: string
  22. name: option
  23. mapping:
  24. - dps_val: auto
  25. value: auto
  26. - dps_val: manual
  27. value: manual
  28. - entity: number
  29. class: duration
  30. translation_key: timer
  31. category: config
  32. dps:
  33. - id: 56
  34. type: integer
  35. name: value
  36. unit: s
  37. range:
  38. min: 0
  39. max: 360
  40. - entity: select
  41. name: Pump
  42. icon: "mdi:pump"
  43. category: config
  44. dps:
  45. - id: 28
  46. type: string
  47. name: option
  48. mapping:
  49. - dps_val: "PumpA"
  50. value: "Pump A"
  51. - dps_val: "PumpB"
  52. value: "Pump B"
  53. - dps_val: "PumpAB"
  54. value: "Both pumps"
  55. - entity: number
  56. name: Repeat interval
  57. icon: "mdi:repeat"
  58. category: config
  59. dps:
  60. - id: 101
  61. type: integer
  62. name: value
  63. unit: h
  64. range:
  65. min: 0
  66. max: 60
  67. - entity: sensor
  68. translation_key: time_remaining
  69. class: duration
  70. dps:
  71. - id: 102
  72. type: integer
  73. name: sensor
  74. unit: s
  75. - id: 10
  76. type: integer
  77. name: runtime
  78. unit: s
  79. optional: true