Fix broken supported_features in Plum Lightpad (#33319)

This commit is contained in:
Colin Harrington 2020-03-28 15:21:28 -05:00 committed by GitHub
parent c08ca8a439
commit 03a9e3284c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ class PlumLight(Light):
"""Flag supported features."""
if self._load.dimmable:
return SUPPORT_BRIGHTNESS
return None
return 0
async def async_turn_on(self, **kwargs):
"""Turn the light on."""