Skip to content

Commit

Permalink
Dongguan garage door: add voice switch
Browse files Browse the repository at this point in the history
Issue #2389
  • Loading branch information
make-all committed Oct 14, 2024
1 parent 6d1fd67 commit dbdd17e
Showing 1 changed file with 25 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,12 @@ secondary_entities:
category: config
dps:
- id: 2
<<: &timer
type: integer
name: value
unit: s
range:
min: 0
max: 86400
type: integer
name: value
unit: s
range:
min: 0
max: 86400
- entity: number
name: Run times
icon: mdi:timer
Expand All @@ -58,7 +57,25 @@ secondary_entities:
category: config
dps:
- id: 5
<<: *timer
type: integer
name: value
unit: s
range:
min: 0
max: 86400
- entity: switch
name: Voice control
icon: "mdi:account-voice"
category: config
dps:
- id: 11
type: boolean
optional: true
name: switch
mapping:
- dps_val: null
value: false
hidden: true
- entity: sensor
name: Fault
icon: mdi:alert
Expand Down

0 comments on commit dbdd17e

Please sign in to comment.