mirror of
https://github.com/home-assistant/core.git
synced 2025-08-08 15:15:09 +02:00
@@ -150,9 +150,9 @@ def system_callback_handler(hass, config, src, *args):
|
|||||||
# they are setup in HA and an event is fired
|
# they are setup in HA and an event is fired
|
||||||
if found_devices:
|
if found_devices:
|
||||||
# HA discovery event
|
# HA discovery event
|
||||||
discovery.load_platform(hass, discovery_type, {
|
discovery.load_platform(hass, component_name, DOMAIN, {
|
||||||
ATTR_DISCOVER_DEVICES: found_devices
|
ATTR_DISCOVER_DEVICES: found_devices
|
||||||
}, component_name, config)
|
}, config)
|
||||||
|
|
||||||
for dev in devices_not_created:
|
for dev in devices_not_created:
|
||||||
if dev in HOMEMATIC_DEVICES:
|
if dev in HOMEMATIC_DEVICES:
|
||||||
|
Reference in New Issue
Block a user