Skip to content

Commit c9e486e

Browse files
committed
Re-enable dimmable functionality
1 parent 0ec36d7 commit c9e486e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

custom_components/edinplus/light.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ def __init__(self, light) -> None:
5252
self._attr_name = self._light.name
5353
self._attr_unique_id = f"{self._light.light_id}_light"
5454
self._state = None
55-
self._brightness = None
5655

5756
async def async_added_to_hass(self) -> None:
5857
"""Run when this Entity has been added to HA."""
@@ -97,7 +96,7 @@ def brightness(self):
9796

9897
@property
9998
def supported_color_modes(self):
100-
return ColorMode.BRIGHTNESS
99+
return {ColorMode.BRIGHTNESS}
101100

102101
@property
103102
def color_mode(self):

custom_components/edinplus/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"iot_class": "local_push",
99
"issue_tracker": "https://github.com/sftgunner/edinplus-integration/issues",
1010
"requirements": [],
11-
"version": "0.6.10"
11+
"version": "0.6.11"
1212
}

0 commit comments

Comments
 (0)