diff options
Diffstat (limited to 'site_config.py')
| -rw-r--r-- | site_config.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/site_config.py b/site_config.py index 2d0c4c3..4968523 100644 --- a/site_config.py +++ b/site_config.py @@ -7,7 +7,7 @@ from typing import Callable # Note: this module is fairly early loaded. Be aware of dependencies. import config -from locations import Location +from type.locations import Location logger = logging.getLogger(__name__) @@ -21,7 +21,7 @@ args.add_argument( const='NONE', nargs='?', choices=('HOUSE', 'CABIN', 'NONE'), - help='Where are we, HOUSE, CABIN?', + help='Where are we, HOUSE, CABIN? Overrides standard detection code.', ) @@ -63,8 +63,8 @@ def get_location(): def is_anyone_present_wrapper(location: Location): - import presence - p = presence.PresenceDetection() + import base_presence + p = base_presence.PresenceDetection() return p.is_anyone_in_location_now(location) |
