Skip to content

Commit

Permalink
Add support for Malmbergs dual dimmer module
Browse files Browse the repository at this point in the history
Issue #1589
  • Loading branch information
make-all committed Sep 11, 2024
1 parent c577bf5 commit 9192f0d
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -668,4 +668,4 @@ Further device support has been made with the assistance of users. Please consid
- [ekalle-swe](https://github.com/ekalle-swe) for assisting with support for Loeffen LFIM6000 ice cube maker.
- [Athemis](https://github.com/Athemis) for contributing support for Aktobis WDH-310EK dehumidifier.
- [carmelo42](https://github.com/carmelo42) for contributing support for Fujicool Yuzu heat pump.
- [dkvk](https://github.com/dkvk) for contributing support for Malmbergs 1-way dimmer module.
- [dkvk](https://github.com/dkvk) for contributing support for Malmbergs single and dual dimmer modules.
3 changes: 2 additions & 1 deletion DEVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,8 @@ of device.
- Loginovo TV sync backlight
- LSC smart connect RGB CCT lightbulb (similar to older generic bulbs, so may work for others)
- Lytmi Fantasy/Neo 3 HDMI sync backlight
- Malmbergs QS-WIFI-D02-TRIAC 1-way dimmer module
- Malmbergs QS-WIFI-D02-TRIAC single dimmer module
- Malmbergs QS-WIFI-D02-TRIAC-2C dual dimmer module
- Marpou RGBCW ceiling light
- Mirabella Genio Pixel LED oval light
- Moes dimmer switch
Expand Down
96 changes: 96 additions & 0 deletions custom_components/tuya_local/devices/malmbergs_dual_dimmer.yaml
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

0 comments on commit 9192f0d

Please sign in to comment.