Fixed brightness issues at night

This commit is contained in:
Remy Moll
2020-11-05 09:38:20 +01:00
parent 213834bdd7
commit d06a9fa3a2
5 changed files with 122 additions and 43 deletions

View File

@@ -77,7 +77,7 @@ class ClockFace(object):
if (is_WE and (now > 1000 and now < 2200)) or ((not is_WE) and (now > 800 and now < 2130)):
brightness = 0.8
else:
brightness = 0.02
brightness = 0.01
self.IO.output.set_brightness(brightness)