summaryrefslogtreecommitdiff
path: root/site_config.py
diff options
context:
space:
mode:
authorScott <[email protected]>2021-12-06 15:43:17 -0800
committerScott <[email protected]>2021-12-06 15:43:17 -0800
commitba223f821df1e9b8abbb6f6d23d5ba92c5a70b05 (patch)
tree637aa43cfa5049ddf07eea3c2ec9ff51ec1be2d8 /site_config.py
parent4f11c12a1afb209eb1ba52a4632c5f49234cc0dc (diff)
Move stuff around.
Diffstat (limited to 'site_config.py')
-rw-r--r--site_config.py8
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)