Skip to content

Commit

Permalink
fix discovery function
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli committed Jun 25, 2016
1 parent 86ccf26 commit be72b04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/homematic.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ def system_callback_handler(hass, config, src, *args):
# they are setup in HA and an event is fired
if found_devices:
# HA discovery event
discovery.load_platform(hass, component_name, DOMAIN, {
discovery.load_platform(hass, discovery_type, {
ATTR_DISCOVER_DEVICES: found_devices
}, config)
}, component_name, config)

for dev in devices_not_created:
if dev in HOMEMATIC_DEVICES:
Expand Down

0 comments on commit be72b04

Please sign in to comment.