Logging
This commit is contained in:
parent
0824603890
commit
4ea571dc20
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user