Skip to content

Commit

Permalink
Fix thread safe issues (HA v2024.5.x) - additional function called as…
Browse files Browse the repository at this point in the history
… async
  • Loading branch information
elad-bar committed May 2, 2024
1 parent 5975052 commit 6330db6
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

## v2.0.14

- Fix thread safe issues (HA v2024.5.x) - additional function called as async

## v2.0.13

- Fix thread safe issues (HA v2024.5.x)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def _update_entities(self, now):

self.entity_manager.update()

self._hass.async_create_task(self.dispatch_all())
self._hass.create_task(self.dispatch_all())

self._update_lock = False

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": "2.0.13"
"version": "2.0.14"
}

0 comments on commit 6330db6

Please sign in to comment.