From 49f4d92c62a28a3ebddf7f36b0c7983b603fccbb Mon Sep 17 00:00:00 2001 From: pavoni Date: Mon, 26 Oct 2015 10:51:23 +0000 Subject: [PATCH] Add dimmer as switch --- homeassistant/components/light/vera.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/light/vera.py b/homeassistant/components/light/vera.py index dc447f2e4b5..2c9cac640f0 100644 --- a/homeassistant/components/light/vera.py +++ b/homeassistant/components/light/vera.py @@ -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")