Skip to content

Commit

Permalink
Merge pull request #97 from iMicknl/fix-96
Browse files Browse the repository at this point in the history
[fix] color_RGB_to_hs is missing parameters
  • Loading branch information
vlebourl authored Jul 2, 2020
2 parents 75f3e8e + 20ad9c3 commit fe789a4
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions custom_components/tahoma/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,7 @@ def update(self):

if CORE_RED_COLOR_INTENSITY_STATE in self.tahoma_device.active_states:
self._hs_color = color_util.color_RGB_to_hs(
[
self.tahoma_device.active_states.get(
CORE_RED_COLOR_INTENSITY_STATE
),
self.tahoma_device.active_states.get(
CORE_GREEN_COLOR_INTENSITY_STATE
),
self.tahoma_device.active_states.get(
CORE_BLUE_COLOR_INTENSITY_STATE
),
]
self.tahoma_device.active_states.get(CORE_RED_COLOR_INTENSITY_STATE),
self.tahoma_device.active_states.get(CORE_GREEN_COLOR_INTENSITY_STATE),
self.tahoma_device.active_states.get(CORE_BLUE_COLOR_INTENSITY_STATE),
)

0 comments on commit fe789a4

Please sign in to comment.