Skip to content

Commit 7d43560

Browse files
committed
Make sure the coordinator is all setup during overshoot calculation
1 parent 213937c commit 7d43560

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

custom_components/sat/config_flow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@ async def start_calibration():
376376
try:
377377
coordinator = await self.async_create_coordinator()
378378
await coordinator.async_setup()
379+
await coordinator.async_added_to_hass()
379380

380381
overshoot_protection = OvershootProtection(coordinator, self.data.get(CONF_HEATING_SYSTEM))
381382
self.overshoot_protection_value = await overshoot_protection.calculate()

0 commit comments

Comments
 (0)