Cleanup and refactoring

This commit is contained in:
2022-10-15 23:25:44 +02:00
parent 53d1f1f9ae
commit 17eafdee41
5 changed files with 80 additions and 76 deletions

View File

@@ -72,7 +72,7 @@ class PlejdLight(LightEntity, CoordinatorEntity):
@property
def brightness(self):
return self._data.get("dim",0)/255
return self._data.get("dim",0)
@property
def supported_color_modes(self):