Updates to resolve flake8 errors

This commit is contained in:
Geoff Norton committed 2015-01-20 04:23:31 +00:00
1 parent a7315684c4
commit a287bb5da0
2 files changed
+6 -2

No files matched your search

+3
View File
@@ -21,6 +21,7 @@ DISCOVER_LIGHTS = "wink.lights"
DISCOVER_SWITCHES = "wink.switches"
DISCOVER_SENSORS = "wink.sensors"
def setup(hass, config):
""" Sets up the Wink component. """
logger = logging.getLogger(__name__)
@@ -51,6 +52,7 @@ def setup(hass, config):
return True
class WinkSensorDevice(Device):
""" represents a wink sensor within home assistant. """
@@ -88,6 +90,7 @@ class WinkSensorDevice(Device):
""" True if door is open. """
return self.wink.state()
class WinkToggleDevice(ToggleDevice):
""" represents a WeMo switch within home assistant. """