Skip to content

0.2.6

Choose a tag to compare

@mwatson2 mwatson2 released this 14 Jul 05:33
· 2 commits to main since this release
915bcd2

Addresses further feedback from the Home Assistant integration review (home-assistant/core#161442).

Fixed

  • Track and finalize fire-and-forget command-poll tasks. Motor/Group commands issued with waitForUpdate=False previously created untracked asyncio tasks. These are now tracked on the device, their failures are logged instead of surfacing as "Task exception was never retrieved" errors (which could otherwise occur during an outage now that polling failures propagate), and they are cancelled by Gaposa.close() so nothing keeps polling after shutdown.
  • Gaposa.close() now cancels each device's outstanding background tasks and stops its polling before closing the session. PollManager gained a close() method to support this.