Skip to content

Branch p9 (add async_will_remove_from_hass() to do cleanup).

Compare
Choose a tag to compare
@janiversen janiversen released this 16 Aug 12:10
· 1 commit to dev since this release

Waiting on active PR before submitting this PR.

Current implementation do not cleanup tasks/timers for entities, when the integration is stopped/reloaded, depending on the time this can lead to "unavailable" being set for an otherwise ok entity (In case the connection is closed, when the entity is updated).

This PR ensures that all entities cancels all ongoing activities when being stopped (not the same as being disabled).