Skip to content

fix: replace invalid hass.async_at_start with helpers.start.async_at_start (v1.2.4)#25

Merged
Geek-MD merged 2 commits intomainfrom
copilot/fix-advanced-downloader-error
Mar 11, 2026
Merged

fix: replace invalid hass.async_at_start with helpers.start.async_at_start (v1.2.4)#25
Geek-MD merged 2 commits intomainfrom
copilot/fix-advanced-downloader-error

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 11, 2026

hass.async_at_start() does not exist on the HomeAssistant object — the call raised an AttributeError that aborted async_setup_entry, taking down all registered services with it.

Changes

  • __init__.py: replace hass.async_at_start(cb) with the correct HA helper:
    from homeassistant.helpers.start import async_at_start
    ...
    async_at_start(hass, _check_downloader_conflict)
  • manifest.json: version → 1.2.4
  • CHANGELOG.md: add [1.2.4] entry and comparison link

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…ump to v1.2.4

Co-authored-by: Geek-MD <25725990+Geek-MD@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix AttributeError in advanced downloader setup fix: replace invalid hass.async_at_start with helpers.start.async_at_start (v1.2.4) Mar 11, 2026
@Geek-MD Geek-MD marked this pull request as ready for review March 11, 2026 03:28
@Geek-MD Geek-MD merged commit 03e9103 into main Mar 11, 2026
3 checks passed
@Geek-MD Geek-MD deleted the copilot/fix-advanced-downloader-error branch March 11, 2026 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants