From 01e581acede049bb551333e8133606e344c9c2b1 Mon Sep 17 00:00:00 2001 From: Mitesh Patel Date: Mon, 3 Apr 2017 10:52:02 -0500 Subject: [PATCH] Adds support for the PlugInDimmer hardware (#6915) --- homeassistant/components/light/lutron_caseta.py | 2 +- homeassistant/components/lutron_caseta.py | 4 ++-- requirements_all.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/light/lutron_caseta.py b/homeassistant/components/light/lutron_caseta.py index aef3f8ae799..e77501e8ce4 100644 --- a/homeassistant/components/light/lutron_caseta.py +++ b/homeassistant/components/light/lutron_caseta.py @@ -19,7 +19,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None): """Setup Lutron Caseta lights.""" devs = [] bridge = hass.data[LUTRON_CASETA_SMARTBRIDGE] - light_devices = bridge.get_devices_by_type("WallDimmer") + light_devices = bridge.get_devices_by_types(["WallDimmer", "PlugInDimmer"]) for light_device in light_devices: dev = LutronCasetaLight(light_device, bridge) devs.append(dev) diff --git a/homeassistant/components/lutron_caseta.py b/homeassistant/components/lutron_caseta.py index 6cb42618af2..416c9f7fd00 100644 --- a/homeassistant/components/lutron_caseta.py +++ b/homeassistant/components/lutron_caseta.py @@ -17,8 +17,8 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity REQUIREMENTS = ['https://github.com/gurumitts/' - 'pylutron-caseta/archive/v0.2.4.zip#' - 'pylutron-caseta==v0.2.4'] + 'pylutron-caseta/archive/v0.2.5.zip#' + 'pylutron-caseta==v0.2.5'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index 76a7afe62b8..f9715190e5a 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -253,7 +253,7 @@ https://github.com/bah2830/python-roku/archive/3.1.3.zip#roku==3.1.3 https://github.com/bashwork/pymodbus/archive/d7fc4f1cc975631e0a9011390e8017f64b612661.zip#pymodbus==1.2.0 # homeassistant.components.lutron_caseta -https://github.com/gurumitts/pylutron-caseta/archive/v0.2.4.zip#pylutron-caseta==v0.2.4 +https://github.com/gurumitts/pylutron-caseta/archive/v0.2.5.zip#pylutron-caseta==v0.2.5 # homeassistant.components.netatmo https://github.com/jabesq/netatmo-api-python/archive/v0.9.1.zip#lnetatmo==0.9.1