From ba223f821df1e9b8abbb6f6d23d5ba92c5a70b05 Mon Sep 17 00:00:00 2001 From: Scott Date: Mon, 6 Dec 2021 15:43:17 -0800 Subject: Move stuff around. --- site_config.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'site_config.py') 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) -- cgit v1.3