- Add product name from original PR description. - Add additional dps based on @illuzn modifications
@@ -1,13 +1,30 @@
name: Smart watering device
products:
- id: abzzvtulukkwzynv
+ name: Becasmart BAF-908
primary_entity:
entity: switch
dps:
- id: 1
name: switch
type: boolean
+ - id: 48
+ type: string
+ optional: true
+ name: schedule
secondary_entities:
+ - entity: select
+ name: Mode
+ icon: "mdi:auto-mode"
+ dps:
+ - id: 2
+ name: option
+ mapping:
+ - dps_val: auto
+ value: Auto
+ - dps_val: manual
+ value: Manual
- entity: number
name: Timer
icon: "mdi:timer"
@@ -30,8 +47,30 @@ secondary_entities:
name: option
mapping:
- dps_val: "PumpA"
- value: "A"
+ value: "Pump A"
- dps_val: "PumpB"
- value: "B"
+ value: "Pump B"
- dps_val: "PumpAB"
- value: "AB"
+ value: "Both pumps"
+ - entity: number
+ name: Repeat interval
+ icon: "mdi:repeat"
+ category: config
+ - id: 101
+ type: integer
+ name: value
+ unit: h
+ range:
+ min: 0
+ max: 60
+ - entity: sensor
+ name: Runtime
+ class: duration
+ category: diagnostic
+ - id: 10
+ unit: min