File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
apps/controllerx/cx_devices
docs/docs/assets/controllers Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ _This minor change does not contain any breaking changes._
17
17
- [ E2213] ( https://BASE_URL/controllerx/controllers/E2213 ) - add device with Z2M support. [ #885 ]
18
18
- [ Z31BRL] ( https://BASE_URL/controllerx/controllers/Z31BRL ) - add Z2M support. [ #958 ]
19
19
- [ E2123] ( https://BASE_URL/controllerx/controllers/E2123 ) - add Z2M and deCONZ support. [ #842 ]
20
+ - [ ShellyDimmer2] ( https://BASE_URL/controllerx/controllers/ShellyDimmer2 ) - add Shelly support. [ #1014 ]
20
21
21
22
<!--
22
23
## :hammer: Fixes
Original file line number Diff line number Diff line change @@ -45,3 +45,13 @@ def get_shelly_actions_mapping(self) -> DefaultActionsMapping:
45
45
"btn_up_2" : Light .RELEASE ,
46
46
"double_push_2" : Light .ON_MIN_BRIGHTNESS ,
47
47
}
48
+
49
+
50
+ class ShellyDimmer2LightController (LightController ):
51
+ def get_shelly_actions_mapping (self ) -> DefaultActionsMapping :
52
+ return {
53
+ "single_1" : Light .TOGGLE ,
54
+ "single_2" : None ,
55
+ "long_1" : Light .TOGGLE ,
56
+ "long_2" : None ,
57
+ }
You can’t perform that action at this time.
0 commit comments