Add dimmer as switch

This commit is contained in:
pavoni 2015-10-26 10:51:23 +00:00
parent 18747f8ae1
commit 49f4d92c62

View File

@ -35,7 +35,7 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
controller = veraApi.VeraController(base_url)
devices = []
try:
devices = controller.get_devices(['Switch', 'On/Off Switch'])
devices = controller.get_devices(['Switch', 'On/Off Switch', 'Dimmable Switch'])
except RequestException:
# There was a network related error connecting to the vera controller
_LOGGER.exception("Error communicating with Vera API")