projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update MAC address.
[python_utils.git]
/
base_presence.py
diff --git
a/base_presence.py
b/base_presence.py
index cd62bb71892a9d7aa4f534b0411166b3e53a1d6b..eff613b5edcfaea975ad5e7d37afe021fc14a03b 100755
(executable)
--- a/
base_presence.py
+++ b/
base_presence.py
@@
-42,7
+42,7
@@
class PresenceDetection(object):
# Note: list most important devices first.
self.devices_by_person: Dict[Person, List[str]] = {
Person.SCOTT: [
# Note: list most important devices first.
self.devices_by_person: Dict[Person, List[str]] = {
Person.SCOTT: [
- "
3C:28:6D:10:6D:41", # pixel3
+ "
DC:E5:5B:0F:03:3D", # pixel6
"6C:40:08:AE:DC:2E", # laptop
],
Person.LYNN: [
"6C:40:08:AE:DC:2E", # laptop
],
Person.LYNN: [
@@
-242,8
+242,8
@@
def main() -> None:
for person in Person:
print(f'{person} => {p.where_is_person_now(person)}')
print()
for person in Person:
print(f'{person} => {p.where_is_person_now(person)}')
print()
- for location in Location:
- print(f'{location} => {p.is_anyone_in_location_now(location)}')
+
#
for location in Location:
+
#
print(f'{location} => {p.is_anyone_in_location_now(location)}')
if __name__ == '__main__':
if __name__ == '__main__':