4.5.12
Features
- Only building python package and docker image for pushes to the dev branch
- Filtering disabled apps from
AllAppConfig.dependency_graph()
- Added an assert about
pin_threads
being less thantotal_threads
if both are specified - Added a
TESTING
update mode forcheck_app_updates
- Refactored startup/shutdown
- New timedelta/datetime/sun event string parsing
- Changed
ADAPI.run_at
to use new datetime parsing - Changed
ADAPI.run_daily
to use new datetime parsing
- Changed
- Bumped versions in CI pipeline
- uv version
- Docker build/push version
- Improved error messages
- for failed connections to Home Assistant
- for failed HTTP requests to Home Assistant
- Improved error messages for custom plugins
- Parsing various timedeltas in config with
utils.parse_timedelta
- Add callback argument to Dashboard's call_service - contributed by psolyca
- Added docstrings to
HassPlugin
methods and added it to the reference in the docs.
Fixes
- Config models
- Edge case that broke the logging config
persistent
gets set for namespaces ifwriteback
is.
- Debug log messages for state changes with
None
as the old state - Type hints for async state callbacks
- Various type hints
- Reverted discarding of events during app initialize methods to pre-4.5 by default and added an option to turn it on if required (should fix run_in() calls with a delay of 0 during initialize, as well as listen_state() with a duration and immediate=True)
- Fixed logic in presence/person constraints
- Fixed logic in calling services from HA so that things like
input_number/set_value
work with entities in thenumber
domain - Fixed
get_history
for boolean objects - Fixed config models to allow custom plugins
- Fixed a bug causing spurious state refreshes - contributed by FredericMa
What's Changed
- Testing by @jsl12 in #2420
- updated requirements by @jsl12 in #2421
- Bump docker/metadata-action from 5.7.0 to 5.8.0 by @dependabot[bot] in #2407
- Bump docker/login-action from 3.4.0 to 3.5.0 by @dependabot[bot] in #2409
- Bump actions/download-artifact from 4.3.0 to 5.0.0 by @dependabot[bot] in #2410
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #2414
- Bump actions/stale from 9 to 10 by @dependabot[bot] in #2419
- Partial fix for documentation issue #2402 by @mlilley in #2403
- Create py.typed by @C0rn3j in #2411
- more doc fixes by @jsl12 in #2422
- changed entity domain check to "in" rather than "==" by @jsl12 in #2427
- fixed false parameters in the http get method by @jsl12 in #2425
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #2423
- fixed match statements in presence/person constraints by @jsl12 in #2428
- allowing generic plugins properly by @jsl12 in #2398
- Fix refresh_update_time call with plugin name by @FredericMa in #2429
- fixed incongruity with bools between websocket and rest apis by @jsl12 in #2430
- using graphlib.TopologicalSorter by @jsl12 in #2431
- Add callback argument to Dashboard's call_service by @psolyca in #2413
- cleaned up shutdown text by @jsl12 in #2432
- restart fix by @jsl12 in #2433
- kwargs-clean by @jsl12 in #2434
- added links by @jsl12 in #2437
- Bump docker/login-action from 3.5.0 to 3.6.0 by @dependabot[bot] in #2435
- match/case statements by @jsl12 in #2436
New Contributors
- @mlilley made their first contribution in #2403
- @C0rn3j made their first contribution in #2411
- @FredericMa made their first contribution in #2429
- @psolyca made their first contribution in #2413
Full Changelog: 4.5.11...4.5.12