mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 07:17:12 +00:00
Fix broken supported_features in Plum Lightpad (#33319)
This commit is contained in:
parent
c08ca8a439
commit
03a9e3284c
@ -74,7 +74,7 @@ class PlumLight(Light):
|
|||||||
"""Flag supported features."""
|
"""Flag supported features."""
|
||||||
if self._load.dimmable:
|
if self._load.dimmable:
|
||||||
return SUPPORT_BRIGHTNESS
|
return SUPPORT_BRIGHTNESS
|
||||||
return None
|
return 0
|
||||||
|
|
||||||
async def async_turn_on(self, **kwargs):
|
async def async_turn_on(self, **kwargs):
|
||||||
"""Turn the light on."""
|
"""Turn the light on."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user