Skip to content

Commit

Permalink
Brightness property wasnt been returned
Browse files Browse the repository at this point in the history
  • Loading branch information
c503ghosh committed Feb 24, 2024
1 parent 47c75fa commit 0bbacc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/dirigera_platform/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 0bbacc0

Please sign in to comment.