From 0bbacc0b9ed386192fc7fb2b2a3f61ec08ab50a5 Mon Sep 17 00:00:00 2001 From: Sanjoy Ghosh Date: Sat, 24 Feb 2024 09:16:42 +0530 Subject: [PATCH] Brightness property wasnt been returned --- custom_components/dirigera_platform/light.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/dirigera_platform/light.py b/custom_components/dirigera_platform/light.py index 383b245..3c229f4 100644 --- a/custom_components/dirigera_platform/light.py +++ b/custom_components/dirigera_platform/light.py @@ -99,6 +99,7 @@ def name(self): @property def brightness(self): scaled = int((self._json_data.attributes.light_level/100)*255) + return scaled @property def max_color_temp_kelvin(self):