Added support for SerenaHoneycombShades to Lutron Caseta (#8662)

Add an optional extended description…
pull/8669/head
kfcook 2017-07-27 02:14:12 -04:00 committed by Pascal Vizeli
parent 3b4ea864a1
commit f5eeb252a7
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
"""Set up the Lutron Caseta Serena shades as a cover device."""
devs = []
bridge = hass.data[LUTRON_CASETA_SMARTBRIDGE]
cover_devices = bridge.get_devices_by_types(["SerenaRollerShade"])
cover_devices = bridge.get_devices_by_types(["SerenaRollerShade",
"SerenaHoneycombShade"])
for cover_device in cover_devices:
dev = LutronCasetaCover(cover_device, bridge)
devs.append(dev)