Skip to content

Commit

Permalink
change based on code review
Browse files Browse the repository at this point in the history
  • Loading branch information
pbalogh77 committed Jan 9, 2019
1 parent 43adef1 commit 4172234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/fibaro/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def stop_fibaro(event):
if hass.data[FIBARO_CONTROLLERS]:
for component in FIBARO_COMPONENTS:
discovery.load_platform(hass, component, DOMAIN, {},
base_config[DOMAIN])
base_config)
for controller in hass.data[FIBARO_CONTROLLERS].values():
controller.enable_state_handler()
hass.bus.listen_once(EVENT_HOMEASSISTANT_STOP, stop_fibaro)
Expand Down

0 comments on commit 4172234

Please sign in to comment.