summaryrefslogtreecommitdiff
path: root/smart_home/device.py
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2021-10-29 10:33:07 -0700
committerScott Gasch <[email protected]>2021-10-29 10:33:07 -0700
commit29ee1f98654a689e9cab76b0c7c68428faa43a8c (patch)
tree856a21eeb335704045eb64a7bb903f9650a4d802 /smart_home/device.py
parent8bc64f43dac0b56e2ef734e183490e840d7382d6 (diff)
Adds Arper, cleans up other stuff.
Diffstat (limited to 'smart_home/device.py')
-rw-r--r--smart_home/device.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/smart_home/device.py b/smart_home/device.py
index 27860c5..0953b8d 100644
--- a/smart_home/device.py
+++ b/smart_home/device.py
@@ -1,7 +1,8 @@
#!/usr/bin/env python3
import re
-from typing import Any, List, Optional, Tuple
+from typing import List, Optional
+
class Device(object):
def __init__(
@@ -24,6 +25,9 @@ class Device(object):
def get_mac(self) -> str:
return self.mac
+ def get_ip(self) -> str:
+ pass
+
def get_keywords(self) -> Optional[List[str]]:
return self.kws