mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-21 23:14:25 +01:00
Change fallback for #333
This commit is contained in:
@@ -146,7 +146,7 @@ class LuiController(object):
|
||||
found_current_dim_value = True
|
||||
# still no dim value
|
||||
if not found_current_dim_value:
|
||||
current_screensaver_brightness = sorted_timesets[-1]["value"]
|
||||
current_screensaver_brightness = sorted_timesets[0]["value"]
|
||||
return current_screensaver_brightness
|
||||
|
||||
def register_callbacks(self):
|
||||
|
||||
Reference in New Issue
Block a user