"""A PresenceDetector that is waitable. This is not part of
base_presence.py because I do not want to bring these dependencies
into that lower-level module (especially state_tracker).
-
"""
import datetime
"""
This is a waitable class that keeps a PresenceDetector internally
and periodically polls it to detect changes in presence in a
- particular location. Example suggested usage pattern:
+ particular location. Example suggested usage pattern::
detector = waitable_presence.WaitablePresenceDetectorWithMemory(60.0)
while True: