Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

---

## [1.2.4] - 2026-03-11

### Fixed
- **`AttributeError: 'HomeAssistant' object has no attribute 'async_at_start'`:** replaced the invalid `hass.async_at_start()` call with the correct `homeassistant.helpers.start.async_at_start(hass, callback)` helper. This caused the entire integration setup to fail, making all services (`advanced_downloader.download_file`, etc.) unavailable.

---

## [1.2.3] - 2026-03-11

### Fixed
Expand Down Expand Up @@ -222,6 +229,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Service `media_downloader.download_file` with optional subdirectories, custom filenames, overwrite control, and per-download timeout.
- Events: `media_downloader_download_started`, `media_downloader_download_completed` (with `success` and `error` fields).

[1.2.4]: https://github.com/Geek-MD/Advanced_Downloader/compare/v1.2.3...v1.2.4
[1.2.3]: https://github.com/Geek-MD/Advanced_Downloader/compare/v1.2.2...v1.2.3
[1.2.2]: https://github.com/Geek-MD/Advanced_Downloader/compare/v1.2.1...v1.2.2
[1.2.1]: https://github.com/Geek-MD/Advanced_Downloader/compare/v1.2.0...v1.2.1
Expand Down
3 changes: 2 additions & 1 deletion custom_components/advanced_downloader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant, ServiceCall, callback
from homeassistant.helpers import aiohttp_client, config_validation as cv
from homeassistant.helpers.start import async_at_start
from homeassistant.exceptions import HomeAssistantError

# Handle asyncio.timeout availability (Python 3.11+)
Expand Down Expand Up @@ -103,7 +104,7 @@ def _check_downloader_conflict(_: HomeAssistant) -> None:
notification_id="advanced_downloader_core_downloader_conflict",
)

hass.async_at_start(_check_downloader_conflict)
async_at_start(hass, _check_downloader_conflict)

# Warn if Video Normalizer is also configured as a standalone integration.
# Its code must remain installed (Advanced Downloader imports from it), but
Expand Down
2 changes: 1 addition & 1 deletion custom_components/advanced_downloader/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"issue_tracker": "https://github.com/Geek-MD/Advanced_Downloader/issues",
"quality_scale": "legacy",
"requirements": [],
"version": "1.2.3"
"version": "1.2.4"
}