diff --git a/CHANGELOG.md b/CHANGELOG.md index ac84554..1ea0e6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2.1.9 + +- Initialize data using `async_request_refresh` instead of `async_config_entry_first_refresh` to remove warning message + ## 2.1.8 - Fix blocking call on startup diff --git a/custom_components/edgeos/managers/coordinator.py b/custom_components/edgeos/managers/coordinator.py index 5f00985..af0072b 100644 --- a/custom_components/edgeos/managers/coordinator.py +++ b/custom_components/edgeos/managers/coordinator.py @@ -184,7 +184,7 @@ async def initialize(self): _LOGGER.info(f"Start loading {DOMAIN} integration, Entry ID: {entry.entry_id}") - await self.async_config_entry_first_refresh() + await self.async_request_refresh() await self._api.initialize() diff --git a/custom_components/edgeos/manifest.json b/custom_components/edgeos/manifest.json index df0a99d..729d8bf 100644 --- a/custom_components/edgeos/manifest.json +++ b/custom_components/edgeos/manifest.json @@ -8,5 +8,5 @@ "iot_class": "local_polling", "issue_tracker": "https://github.com/elad-bar/ha-edgeos/issues", "requirements": ["aiohttp"], - "version": "2.1.8" + "version": "2.1.9" }