projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adds Arper, cleans up other stuff.
[python_utils.git]
/
smart_home
/
device.py
diff --git
a/smart_home/device.py
b/smart_home/device.py
index 27860c5bbcc75bdbb97defabf820f0a601a9e0f6..0953b8dadccc886376c164fe1bef6a2bb7dd9c96 100644
(file)
--- a/
smart_home/device.py
+++ b/
smart_home/device.py
@@
-1,7
+1,8
@@
#!/usr/bin/env python3
import re
#!/usr/bin/env python3
import re
-from typing import Any, List, Optional, Tuple
+from typing import List, Optional
+
class Device(object):
def __init__(
class Device(object):
def __init__(
@@
-24,6
+25,9
@@
class Device(object):
def get_mac(self) -> str:
return self.mac
def get_mac(self) -> str:
return self.mac
+ def get_ip(self) -> str:
+ pass
+
def get_keywords(self) -> Optional[List[str]]:
return self.kws
def get_keywords(self) -> Optional[List[str]]:
return self.kws