Skip to content

Commit

Permalink
Fix a bug in Lutron RadioRA2 Scene support (home-assistant#19819)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdheiser authored and kellerza committed Jan 6, 2019
1 parent 3ffa017 commit bf4830b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/lutron.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bf4830b

Please sign in to comment.