-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add smart Power Strip device definition
- Loading branch information
1 parent
3ea0ab3
commit 268e15a
Showing
1 changed file
with
116 additions
and
0 deletions.
There are no files selected for viewing
116 changes: 116 additions & 0 deletions
116
custom_components/tuya_local/devices/smart_powerstrip.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
name: 4 outlet + USB powerstrip | ||
products: | ||
- id: y7CxWXKi0EVL3cgB | ||
name: smart Power Strip | ||
primary_entity: | ||
entity: switch | ||
name: Outlet 1 | ||
class: outlet | ||
dps: | ||
- id: 1 | ||
type: boolean | ||
name: switch | ||
secondary_entities: | ||
- entity: switch | ||
name: Outlet 2 | ||
class: outlet | ||
dps: | ||
- id: 2 | ||
type: boolean | ||
name: switch | ||
- entity: switch | ||
name: Outlet 3 | ||
class: outlet | ||
dps: | ||
- id: 3 | ||
type: boolean | ||
name: switch | ||
- entity: switch | ||
name: Outlet 4 | ||
class: outlet | ||
dps: | ||
- id: 4 | ||
type: boolean | ||
name: switch | ||
- entity: switch | ||
name: USB switch | ||
class: switch | ||
dps: | ||
- id: 7 | ||
type: boolean | ||
name: switch | ||
- entity: number | ||
category: config | ||
name: Timer 1 | ||
icon: "mdi:timer" | ||
dps: | ||
- id: 9 | ||
name: value | ||
type: integer | ||
unit: min | ||
range: | ||
min: 0 | ||
max: 86400 | ||
mapping: | ||
- scale: 60 | ||
step: 60 | ||
- entity: number | ||
category: config | ||
name: Timer 2 | ||
icon: "mdi:timer" | ||
dps: | ||
- id: 10 | ||
name: value | ||
type: integer | ||
unit: min | ||
range: | ||
min: 0 | ||
max: 86400 | ||
mapping: | ||
- scale: 60 | ||
step: 60 | ||
- entity: number | ||
category: config | ||
name: Timer 3 | ||
icon: "mdi:timer" | ||
dps: | ||
- id: 11 | ||
name: value | ||
type: integer | ||
unit: min | ||
range: | ||
min: 0 | ||
max: 86400 | ||
mapping: | ||
- scale: 60 | ||
step: 60 | ||
- entity: number | ||
category: config | ||
name: Timer 4 | ||
icon: "mdi:timer" | ||
dps: | ||
- id: 12 | ||
name: value | ||
type: integer | ||
unit: min | ||
range: | ||
min: 0 | ||
max: 86400 | ||
mapping: | ||
- scale: 60 | ||
step: 60 | ||
- entity: number | ||
category: config | ||
name: USB timer | ||
icon: "mdi:timer" | ||
dps: | ||
- id: 15 | ||
name: value | ||
type: integer | ||
unit: min | ||
range: | ||
min: 0 | ||
max: 86400 | ||
mapping: | ||
- scale: 60 | ||
step: 60 |