1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-27 14:31:13 +00:00

Fix VeSync binary sensor discovery (#157898)

This commit is contained in:
cdnninja
2025-12-04 01:14:35 -07:00
committed by GitHub
parent 3c0cfd5e0c
commit 1b1dface35

View File

@@ -66,7 +66,7 @@ async def async_setup_entry(
@callback
def discover(devices):
"""Add new devices to platform."""
_setup_entities(devices, async_add_entities)
_setup_entities(devices, async_add_entities, coordinator)
config_entry.async_on_unload(
async_dispatcher_connect(hass, VS_DISCOVERY.format(VS_DEVICES), discover)