Added support for SerenaHoneycombShades to Lutron Caseta (#8662)
Add an optional extended description…
This commit is contained in:
1 parent
3b4ea864a1
commit
f5eeb252a7
1 file changed
+2
-1
@@ -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."""
|
"""Set up the Lutron Caseta Serena shades as a cover device."""
|
||||||
devs = []
|
devs = []
|
||||||
bridge = hass.data[LUTRON_CASETA_SMARTBRIDGE]
|
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:
|
for cover_device in cover_devices:
|
||||||
dev = LutronCasetaCover(cover_device, bridge)
|
dev = LutronCasetaCover(cover_device, bridge)
|
||||||
devs.append(dev)
|
devs.append(dev)
|
||||||
|
|||||||
Reference in new issue
Block a user