summaryrefslogtreecommitdiff
path: root/locations.py
diff options
context:
space:
mode:
authorScott <[email protected]>2021-12-05 20:50:59 -0800
committerScott <[email protected]>2021-12-05 20:50:59 -0800
commitc63d439fb7e1d6f50e849b580f8bc6cfe88a81b6 (patch)
tree469bc414979e12dd5a40b81d0c2c30485fec8323 /locations.py
parentb29be4f1750fd20bd2eada88e751dfae85817882 (diff)
Make presence detection work from cabin or house and deal with a
bad VPN link between them better.
Diffstat (limited to 'locations.py')
-rw-r--r--locations.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/locations.py b/locations.py
new file mode 100644
index 0000000..744f63a
--- /dev/null
+++ b/locations.py
@@ -0,0 +1,9 @@
+#!/usr/bin/env python3
+
+import enum
+
+class Location(enum.Enum):
+ UNKNOWN = 0
+ HOUSE = 1
+ CABIN = 2