This commit is contained in:
Lynn Ochs 2022-11-07 06:29:37 +01:00
parent 0824603890
commit 4ea571dc20

View File

@ -95,6 +95,7 @@ class Reader(util.Loggable):
elif msgs['ring_hs'] == msg: elif msgs['ring_hs'] == msg:
open_now = self.open_now_cb and self.open_now_cb() open_now = self.open_now_cb and self.open_now_cb()
if open_now: if open_now:
self._logger().info("Opening after a single button press")
self.open_door() self.open_door()
elif not self.start: elif not self.start:
self.start = datetime.datetime.now() self.start = datetime.datetime.now()