mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 17:57:55 +00:00
Fix unset coordinator in Switchbot cloud (#135985)
This commit is contained in:
parent
cf29ef91ee
commit
02bf8447b3
@ -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 [
|
||||
|
Loading…
x
Reference in New Issue
Block a user