Skip to content

Commit

Permalink
Passing original config reference to load_platform. (home-assistant#3602
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Cinntax authored and balloob committed Sep 30, 2016
1 parent 733120c commit 68028af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions homeassistant/components/envisalink.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,13 @@ def start_envisalink(event):
load_platform(hass, 'alarm_control_panel', 'envisalink',
{CONF_PARTITIONS: _partitions,
CONF_CODE: _code,
CONF_PANIC: _panic_type}, config)
CONF_PANIC: _panic_type}, base_config)
load_platform(hass, 'sensor', 'envisalink',
{CONF_PARTITIONS: _partitions,
CONF_CODE: _code}, config)
CONF_CODE: _code}, base_config)
if _zones:
load_platform(hass, 'binary_sensor', 'envisalink',
{CONF_ZONES: _zones}, config)
{CONF_ZONES: _zones}, base_config)

return True

Expand Down

0 comments on commit 68028af

Please sign in to comment.