Pass empty set instead of empty dict to get_last_statistics (#144022)

This commit is contained in:
tronikos 2025-05-01 13:47:48 -07:00 committed by Paulus Schoutsen
parent 3fbd23b98d
commit 43b737c4a2

View File

@ -349,7 +349,7 @@ class OpowerCoordinator(DataUpdateCoordinator[dict[str, Forecast]]):
1, 1,
target_id, target_id,
True, True,
{}, set(),
) )
if not last_target_stat: if not last_target_stat:
need_migration_source_ids.add(source_id) need_migration_source_ids.add(source_id)