Fix unset coordinator in Switchbot cloud (#135985)

pull/135991/head
Joost Lekkerkerker 2025-01-19 15:15:32 +01:00 committed by GitHub
parent cf29ef91ee
commit 02bf8447b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -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 [