-
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 support for Malmbergs dual dimmer module
Issue #1589
- Loading branch information
Showing
3 changed files
with
99 additions
and
2 deletions.
There are no files selected for viewing
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
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
96 changes: 96 additions & 0 deletions
96
custom_components/tuya_local/devices/malmbergs_dual_dimmer.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,96 @@ | ||
name: Dual dimmer | ||
products: | ||
- id: isstlkzmlurfcc6e | ||
name: Malmbergs QS-WIFI-D02-TRIAC-2C | ||
primary_entity: | ||
entity: light | ||
name: Dimmer 1 | ||
dps: | ||
- id: 1 | ||
type: boolean | ||
name: switch | ||
- id: 2 | ||
name: brightness | ||
type: integer | ||
range: | ||
min: 10 | ||
max: 1000 | ||
secondary_entities: | ||
- entity: light | ||
name: Dimmer 2 | ||
dps: | ||
- id: 7 | ||
type: boolean | ||
name: switch | ||
- id: 8 | ||
name: brightness | ||
type: integer | ||
range: | ||
min: 10 | ||
max: 1000 | ||
- entity: number | ||
name: Minimum brightness 1 | ||
category: config | ||
icon: "mdi:lightbulb-on-40" | ||
dps: | ||
- id: 3 | ||
type: integer | ||
name: value | ||
range: | ||
min: 25 | ||
max: 255 | ||
- entity: number | ||
translation_key: timer | ||
category: config | ||
dps: | ||
- id: 6 | ||
type: integer | ||
name: value | ||
unit: min | ||
range: | ||
min: 0 | ||
max: 86400 | ||
mapping: | ||
- scale: 60 | ||
step: 60 | ||
- entity: number | ||
name: Minimum brightness 2 | ||
category: config | ||
icon: "mdi:lightbulb-on-40" | ||
dps: | ||
- id: 9 | ||
type: integer | ||
name: value | ||
range: | ||
min: 25 | ||
max: 255 | ||
- entity: number | ||
translation_key: timer | ||
name: Timer 2 | ||
category: config | ||
dps: | ||
- id: 12 | ||
type: integer | ||
name: value | ||
unit: min | ||
range: | ||
min: 0 | ||
max: 86400 | ||
mapping: | ||
- scale: 60 | ||
step: 60 | ||
- entity: select | ||
name: Initial state | ||
icon: "mdi:toggle-switch" | ||
category: config | ||
dps: | ||
- id: 14 | ||
type: string | ||
name: option | ||
mapping: | ||
- dps_val: "off" | ||
value: "Off" | ||
- dps_val: "on" | ||
value: "On" | ||
- dps_val: memory | ||
value: Last state |