Skip to content

Commit 3eb1dad

Browse files
committed
- updated version of gehomesdk
- updated the erd light to hopefully make dimming work
1 parent 18143fe commit 3eb1dad

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

custom_components/ge_home/entities/common/ge_erd_light.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class GeErdLight(GeErdEntity, LightEntity):
2727

2828
def __init__(self, api: ApplianceApi, erd_code: ErdCodeType, erd_override: str = None, color_mode = COLOR_MODE_BRIGHTNESS):
2929
super().__init__(api, erd_code, erd_override)
30-
self._attr_color_mode = color_mode
30+
self._color_mode = color_mode
3131

3232
@property
3333
def supported_features(self):
@@ -38,6 +38,11 @@ def supported_features(self):
3838
def supported_color_modes(self):
3939
"""Flag supported color modes."""
4040
return COLOR_MODE_BRIGHTNESS
41+
42+
@property
43+
def color_mode(self):
44+
"""Return the color mode of the light."""
45+
return self._color_mode
4146

4247
@property
4348
def brightness(self):

custom_components/ge_home/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "GE Home (SmartHQ)",
44
"config_flow": true,
55
"documentation": "https://github.com/simbaja/ha_gehome",
6-
"requirements": ["gehomesdk==0.4.11","magicattr==0.1.5"],
6+
"requirements": ["gehomesdk==0.4.12","magicattr==0.1.5"],
77
"codeowners": ["@simbaja"],
88
"version": "0.5.0"
99
}

0 commit comments

Comments
 (0)