Skip to content

Commit

Permalink
Fixed setting RGB color
Browse files Browse the repository at this point in the history
  • Loading branch information
c503ghosh committed Feb 23, 2024
1 parent 0d9d6a7 commit 3814c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/dirigera_platform/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def turn_on(self, **kwargs):
hs_tuple = kwargs[ATTR_HS_COLOR]
self._color_hue = hs_tuple[0]
self._color_saturation = hs_tuple[1]
self._json_data.set_color_temperature(self._color_hue, self._color_saturation)
self._json_data.set_light_color(self._color_hue, self._color_saturation)

except Exception as ex:
logger.error("error encountered turning on : {}".format(self.name))
Expand Down

0 comments on commit 3814c55

Please sign in to comment.