mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-26 06:02:14 +01:00
implementes #539
This commit is contained in:
@@ -25,7 +25,7 @@ class LuiPagesGen(object):
|
||||
|
||||
def get_entity_color(self, entity, ha_type=None, overwrite=None):
|
||||
if overwrite is not None:
|
||||
if type(overwrite) is list:
|
||||
if type(overwrite) in [str, list]:
|
||||
return rgb_dec565(overwrite)
|
||||
if type(overwrite) is dict:
|
||||
state = entity.state
|
||||
|
||||
Reference in New Issue
Block a user