Change fallback for #333

This commit is contained in:
Johannes
2022-07-09 18:52:17 +02:00
committed by GitHub
parent 846cacc589
commit d993e66883

View File

@@ -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):