gate_state: change next state after init
Signed-off-by: Thomas Klaehn <thomas.klaehn@u-blox.com>
This commit is contained in:
parent
e66e731c67
commit
c5eb6ffc7a
@ -89,7 +89,7 @@ class GateState(object):
|
|||||||
self.__comserver.transmit(MQTT_TOPIC, str(time()) + \
|
self.__comserver.transmit(MQTT_TOPIC, str(time()) + \
|
||||||
" gate gard initiated")
|
" gate gard initiated")
|
||||||
self.__comserver.disconnect()
|
self.__comserver.disconnect()
|
||||||
self.__update_state(STATE_CLOSING)
|
self.__update_state(STATE_OPENING)
|
||||||
|
|
||||||
|
|
||||||
def __opened_handler(self, light_avg):
|
def __opened_handler(self, light_avg):
|
||||||
|
Loading…
Reference in New Issue
Block a user