Release v2.0.0

This commit is contained in:
SMKRV
2024-11-25 00:05:15 +03:00
parent a4925fc943
commit b00f600cd9
3 changed files with 92 additions and 54 deletions
+3
View File
@@ -245,6 +245,9 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
is_anthropic=is_anthropic,
)
coordinator.data = coordinator._initial_state.copy()
_LOGGER.debug(f"Initial state set for coordinator {instance_name}")
await coordinator.async_config_entry_first_refresh()
hass.data.setdefault(DOMAIN, {})