mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix a bug in Lutron RadioRA2 Scene support (#19819)
This commit is contained in:
parent
3ffa0176cc
commit
bf4830bc07
@ -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…
x
Reference in New Issue
Block a user