Fix a bug in Lutron RadioRA2 Scene support (#19819)

This commit is contained in:
cdheiser 2019-01-06 09:25:09 -08:00 committed by Johann Kellerman
parent 3ffa0176cc
commit bf4830bc07

View file

@ -68,7 +68,7 @@ def setup(hass, base_config):
button.name != 'Unknown Button' and
button.button_type in ('SingleAction', 'Toggle')):
hass.data[LUTRON_DEVICES]['scene'].append(
(area.name, button, led))
(area.name, keypad.name, button, led))
for component in ('light', 'cover', 'switch', 'scene'):
discovery.load_platform(hass, component, DOMAIN, None, base_config)