Clear garage display on error
This commit is contained in:
parent
0abb117abb
commit
3afa65a1b7
|
@ -25,6 +25,8 @@ class GarageDisplay:
|
|||
|
||||
if self.isGarageStateValid(state):
|
||||
self.showState(state)
|
||||
else:
|
||||
self.symbolDisplay.clearRow(self.topRow, rowHeight=4)
|
||||
|
||||
def getGarageState(self):
|
||||
try:
|
||||
|
|
|
@ -25,7 +25,7 @@ except ImportError:
|
|||
unicorn.rotation(180)
|
||||
|
||||
|
||||
WEATHER_UPDATE_INTERVAL_IN_SECONDS = 10
|
||||
WEATHER_UPDATE_INTERVAL_IN_SECONDS = 60
|
||||
GARAGE_UPDATE_INTERVAL_IN_SECONDS = 30
|
||||
DISPLAY_UPDATE_INTERVAL_IN_SECONDS = 0.5
|
||||
CONFIG_FILE = 'chutney.cfg'
|
||||
|
|
Loading…
Reference in New Issue