Refactored device components

This commit is contained in:
Paulus Schoutsen committed 2015-03-01 01:35:58 -08:00
1 parent f0c6ac1aa3
commit 89100d14c8
20 files changed
+239 -339

No files matched your search

@@ -24,6 +24,6 @@ def init(empty=False):
]
def get_switches(hass, config):
""" Returns mock devices. """
return DEVICES
def setup_platform(hass, config, add_devices_callback, discovery_info=None):
""" Find and return test switches. """
add_devices_callback(DEVICES)