Added tests for switch component

This commit is contained in:
Paulus Schoutsen committed 2014-11-25 00:20:36 -08:00
1 parent 8c56b415cb
commit 5cbe7bf1b8
6 files changed
+169 -2

No files matched your search

+1 -1
View File
@@ -145,7 +145,7 @@ class ToggleDevice(object):
def get_state_attributes(self):
""" Returns optional state attributes. """
return None
return {}
def update(self):
""" Retrieve latest state from the real device. """