Change initial state
This commit is contained in:
parent
5fc8b04986
commit
88f5086701
|
@ -11,7 +11,7 @@ from threading import Lock
|
||||||
|
|
||||||
threadLock = Lock()
|
threadLock = Lock()
|
||||||
stateFile = 'www/garage.json'
|
stateFile = 'www/garage.json'
|
||||||
state = {'east-door': 'opened', 'west-door': 'opened'}
|
state = {'east-door': 'init', 'west-door': 'init'}
|
||||||
|
|
||||||
config = ConfigParser()
|
config = ConfigParser()
|
||||||
config.read('garage.cfg')
|
config.read('garage.cfg')
|
||||||
|
|
Loading…
Reference in New Issue