diff --git a/src/gate/gate_state.py b/src/gate/gate_state.py index a07630b..e0aba39 100644 --- a/src/gate/gate_state.py +++ b/src/gate/gate_state.py @@ -89,7 +89,7 @@ class GateState(object): self.__comserver.transmit(MQTT_TOPIC, str(time()) + \ " gate gard initiated") self.__comserver.disconnect() - self.__update_state(STATE_CLOSING) + self.__update_state(STATE_OPENING) def __opened_handler(self, light_avg):