Fix a bug in Lutron RadioRA2 Scene support (#19819)
This commit is contained in:
parent
3ffa0176cc
commit
bf4830bc07
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ def setup(hass, base_config):
|
||||||
button.name != 'Unknown Button' and
|
button.name != 'Unknown Button' and
|
||||||
button.button_type in ('SingleAction', 'Toggle')):
|
button.button_type in ('SingleAction', 'Toggle')):
|
||||||
hass.data[LUTRON_DEVICES]['scene'].append(
|
hass.data[LUTRON_DEVICES]['scene'].append(
|
||||||
(area.name, button, led))
|
(area.name, keypad.name, button, led))
|
||||||
|
|
||||||
for component in ('light', 'cover', 'switch', 'scene'):
|
for component in ('light', 'cover', 'switch', 'scene'):
|
||||||
discovery.load_platform(hass, component, DOMAIN, None, base_config)
|
discovery.load_platform(hass, component, DOMAIN, None, base_config)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue