Skip to content

Commit

Permalink
Merge pull request #85 from maorcc/fix-warning-message
Browse files Browse the repository at this point in the history
fix warning message related to async_config_entry_first_refresh
  • Loading branch information
elad-bar authored Nov 27, 2024
2 parents e632a87 + 442e699 commit 235bda8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 3.0.9

- Initialize data using `async_request_refresh` instead of `async_config_entry_first_refresh` to remove warning message

## v3.0.8

- HACS Support
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,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()

Expand Down
2 changes: 1 addition & 1 deletion custom_components/citymind_water_meter/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/maorcc/citymind_water_meter/issues",
"requirements": [],
"version": "3.0.8"
"version": "3.0.9"
}

0 comments on commit 235bda8

Please sign in to comment.