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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user