mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-21 23:14:25 +01:00
Merge branch 'sleepOverride-patch' of https://github.com/illuzn/nspanel-lovelace-ui into sleepOverride-patch
This commit is contained in:
@@ -269,7 +269,7 @@ class LuiController(object):
|
||||
if button_type == "colorWheel":
|
||||
self._ha_api.log(value)
|
||||
value = value.split('|')
|
||||
color = pos_to_color(int(value[0]), int(value[1]))
|
||||
color = pos_to_color(int(value[0]), int(value[1]), int(value[2]))
|
||||
self._ha_api.log(color)
|
||||
self._ha_api.get_entity(entity_id).call_service("turn_on", rgb_color=color)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user