Adds support for the PlugInDimmer hardware (#6915)
parent
a107a592de
commit
01e581aced
|
@ -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)
|
||||
|
|
|
@ -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__)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue