From c63d439fb7e1d6f50e849b580f8bc6cfe88a81b6 Mon Sep 17 00:00:00 2001 From: Scott Date: Sun, 5 Dec 2021 20:50:59 -0800 Subject: Make presence detection work from cabin or house and deal with a bad VPN link between them better. --- locations.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 locations.py (limited to 'locations.py') 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 + +@enum.unique +class Location(enum.Enum): + UNKNOWN = 0 + HOUSE = 1 + CABIN = 2 -- cgit v1.3