Add tests, fix styling

This commit is contained in:
Paulus Schoutsen committed 2015-01-19 21:40:54 -08:00
1 parent 980ecdaacb
commit cdbcc844cf
9 files changed
+265 -60

No files matched your search

+6 -1
View File
@@ -24,6 +24,11 @@ def init(empty=False):
]
def get_lights(hass, config):
def setup_platform(hass, config, add_devices_callback, discovery_info=None):
""" Returns mock devices. """
add_devices_callback(DEVICES)
def get_lights():
""" Helper method to get current light objects. """
return DEVICES