X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=smart_home%2Fdevice.py;fp=smart_home%2Fdevice.py;h=0953b8dadccc886376c164fe1bef6a2bb7dd9c96;hb=29ee1f98654a689e9cab76b0c7c68428faa43a8c;hp=27860c5bbcc75bdbb97defabf820f0a601a9e0f6;hpb=8bc64f43dac0b56e2ef734e183490e840d7382d6;p=python_utils.git 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