From 1220ffcf56e968de31b62f6d0c5af250fed9028e Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Thu, 17 Feb 2022 11:52:14 -0800 Subject: Cleanup. --- smart_home/device.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'smart_home/device.py') diff --git a/smart_home/device.py b/smart_home/device.py index 06187d7..82f1fa6 100644 --- a/smart_home/device.py +++ b/smart_home/device.py @@ -1,5 +1,9 @@ #!/usr/bin/env python3 +"""Most basic definition of a smart device: it must have a name and a +MAC address and may have some optional keywords. All devices have +these whether they are lights, outlets, thermostats, etc...""" + import re from typing import List, Optional @@ -7,6 +11,10 @@ import arper class Device(object): + """Most basic definition of a smart device: it must have a name and a + MAC address and may have some optional keywords. All devices have + these whether they are lights, outlets, thermostats, etc...""" + def __init__( self, name: str, -- cgit v1.3