mirror of
https://github.com/home-assistant/core.git
synced 2026-09-04 18:15:04 -05:00
Fix unset coordinator in Switchbot cloud (#135985)
This commit is contained in:
@@ -114,6 +114,9 @@ async def make_device_data(
|
||||
"Plug Mini (US)",
|
||||
"Plug Mini (JP)",
|
||||
]:
|
||||
coordinator = await coordinator_for_device(
|
||||
hass, api, device, coordinators_by_id
|
||||
)
|
||||
devices_data.sensors.append((device, coordinator))
|
||||
|
||||
if isinstance(device, Device) and device.device_type in [
|
||||
|
||||
Reference in New Issue
Block a user