Skip to content

home-assistant: Update acockburn/appdaemon Docker tag to v4.5.10 #2918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate85-bot[bot]
Copy link
Contributor

@renovate85-bot renovate85-bot bot commented Jun 8, 2025

This PR contains the following updates:

Package Update Change
acockburn/appdaemon minor 4.4.2 -> 4.5.10

Release Notes

AppDaemon/appdaemon (acockburn/appdaemon)

v4.5.10

Compare Source

4.5.10

Features

  • Added "log_level" directive to appdaemon'yaml to allow global log level setting

Fixes

  • Upgrading pip version to latest in Dockerfile
  • Passing through timeout kwarg in dash_navigate and fire_event
  • Fixed a bug with parse_timedelta in cases like "00:2.5"
  • Minor type fixes
  • Added missing name attributes to some classes that use run_in_executor
  • Fixed diable_apps
  • Fix for constrain_input_select when it is a string contributed by Xavi Moreno

Breaking Changes

None

Changes in Behavior

None

v4.5.8

Compare Source

4.5.8

Features

None

Fixes

  • Fix for time & day constraints
  • Additional error checking around websocket aceesses for HASS
  • restored metadata to service callbacks
  • refactor of services dictionary access

Breaking Changes

None

Changes in Behavior

None

v4.5.7

Compare Source

4.5.7

Features

None

Fixes

  • Fixed issue with getter that prevented app initialization

Breaking Changes

None

Changes in Behavior

None

v4.5.5

Compare Source

4.5.5

Features

None

Fixes

  • Fixed an error with RequestHandlerException in the HTTP subsystem
  • Fixed uptime sensor returning negative days in AUI

Breaking Changes

None

Changes in Behavior

None

v4.5.4

Compare Source

4.5.4 (2025-05-29)

Features

None

Fixes

  • Fixed a cosmetic error on admin stream disconnect
  • Fixed spurious entry in service dictionary causing dashboard `__name`` errors
  • Added setter for setter for pin_apps
  • Passing through keyword arguments to render_template
  • Fixed a bug in the error text for apps in a custom app_dir
  • Fix for wait_state - contributed by Kostas Chatzikokolakis
  • fix constrain_input_select when not a list - contributed by Xavi Moreno

Breaking Changes

None

Changes in Behavior

None

v4.5.3

Compare Source

4.5.3

Features

  • Filled in integration_entities stub

Fixes

  • Reverted async methods
    • set_app_pin
    • get_app_pin
    • set_pin_thread
    • get_pin_thread
    • get_plugin_config
    • namespace_exists
    • get_plugin_config
    • anyone_home
    • everyone_home
    • noone_home
  • Fixed a fictitious reference to performance writeback mode

Breaking Changes

None

Changes in Behavior

None

v4.5.2

Compare Source

4.5.2

Features

None

Fixes

  • Revert unintentional sync vs async changes
  • Respecting the disable key in app configurations when
    • processing module import order
    • processing app start order
  • Fixed a bug where a failed app could get re-introduced to the start order only to fail again
  • Fixed a bug where changing files at exactly right time would throw an error
  • Files with syntax errors get added to bad_files list, even if they aren't used for apps
  • Improved error text for ImportErrors and SyntaxErrors in user apps
  • Add a fix to the http component to handle URLs with no port, and URLs with port 80

Breaking Changes

None

Changes in Behavior

None

v4.5.1

Compare Source

4.5.1 (2025-05-26)

Features

  • Added support for codespell for doc spell checking - contributed by Dr.Yarik

Fixes

  • Fixed an issue with dashboards not loading
  • Fixed an issue with entity get_state()
  • Fixed an issue with log()'s ascii_encode not being honored
  • Fixed an issue with assertions when checking input_boolean constraints

Breaking Changes

None

Changes in Behavior

None

v4.5.0

Compare Source

Features

  • Project updates
    • Remove support for Python 3.8 and 3.9
    • Added support for Python 3.12
    • Update docker image to Alpine 3.21/Python 3.12
  • App Management rewrite - contributed by John Lancaster
    • AppDaemon automatically detects dependencies between app files by parsing them with the ast module.
    • Makes all the global module stuff obsolete.
  • HASS Plugin rewrite - contributed by John Lancaster
    • Upgraded HASS plugin to use the aiohttp websocket client
    • Upgraded HASS plugin to use the Websocket API where possible
    • Implemented value return for HASS Service Calls
    • Added additional functions based on rendering templates for Areas, Devices, and Labels
  • Configuration validation - Added pydantic validation to most user input
  • Added Pirateweather widget - contributed by Dave Dixon
  • Added ability to know the topic associated with an MQTT message decode error
  • Added import_path directive to enable python imports from arbitary paths
  • Added access to the request object for both async and non-async http callbacks - contributed by Eric Severance
  • Added option for N deg rising|setting to Scheduler._parse_time
  • Added silent parameter to cancel_listen_state() - contributed by Daniel Rocha
  • added the --write_toml as an AppDaemon startup parameter to force AD to use the TOML format when creating new apps using the
  • Upgraded Material Design icons to 7.4.47 - - contributed by Daniel Rocha
  • Rewrote app dependency tracking and added automatic tracking of global modules, deprecated associated global directoves in apps.yaml

Fixes

  • baseicon set_service_call fix - contributed by lancasterJ
  • HTTP module now correctly honors the provided host name instead of binding to 0.0.0.0, and should also now work for IPv6 - contributed by bitstacker
  • Fix for baseweather direction icon - contributed by carawan
  • Fix for bug in pathname checking for hidden files and pycache - contributed by David Warde-Farley- contributed by Roman Andriadi
  • ADAPI Sleep now accepts a float as documented

Breaking Changes

  • AppDaemon no longer supports versions of Python prior to 3.10. This is in line with other packages, and allows us to keep the code base up to date and current with the latest developments

Changes in Behavior

  • The fix to honor the host name in the HTTP URL may cause AppDaemon to fail to start, if the hostname provided is not valid. In particular, docker users will need to switch their URL to either use localhost, explicitly, or "0.0.0.0" which will bind to any available interface, or use command line tools to discover the correct IP address and use that.
  • The timer for internal function timeouts has been increased from 10 seconds to 60 to allow for the fact that service calls to hass can now be synchronous and may take longer
  • AppDaemon will now discard any events that it attempts to process for an App that is initializing. This is intended to prevent race conditions during App Initialization
  • The --toml flag has been deprecated. AppDaemon will now work transparently with either yaml or toml files, allowing the user to mix and match and convert from one format to another over time. In the event of a conflict, the yaml file will take precedence.

Things to Look Out For

Release 4.5 of AppDaemon has been a long time coming, and this is in part due to the fact that we have rewritten some of the core parts of AppDaemon to make them more efficient and to provide a better platform for future development. While we have made avery effort to test the code, the wide variety of installs and usages of AppDaemon may throw up some unanticipated issues. For this reason, we recommend that upgrades to 4.5 are done with caution, and ideally with a backout plan. We will be releasing fixes for any issues with a rapid cadence until we are confident that things are stable again, however, those for whom stability is important might want to wait for one or two point releases before upgrading to 4.5.x.

Areas that have been affected include:

  • Loading and dependencies of apps: we believe that the new system is practically identical to the old, but it is entirely new code
  • The reason for the above is that we now handle dependencies in global python modules without the need to mark them as such, and correctly reload all apps. This functionality never worked correctly in previous versions of AppDaemon, but should now be a seamless experience
  • Because of the above, although we don't enforce specific app hierarchies, some work better than others, especially if you are using global modules. The new guidelines are published in the Appdir Structure of the docs.
  • Most user input is now validated using Pydantic. This means that any input files such as appdaemon.yaml and apps.yaml will now produce warnings if additional or incorrectly named fields are present. In some cases this may result in AppDaemon's refusal to start. We will log reasons for such events to the standard log files to enable you to troubleshoot
  • Please note that in cases where errors occur before the AppDaemon.yaml file has been processed, these errors will be logged to standard out, since we cannot rely on configuration info to tell us where the logs should go. For this reason, if AppDaemon does not start after the upgrade, and you get no logging CHECK STANDARD OUT FOR ANY ERRORS:
    • For a standard venv install this could be on the terminal
    • For docker, you will need to look at docker logs
    • For the HomeAssistant addon, you should check the addon logs.
  • The Home Assistant plugin has been rewritten to enable return information from HomeAssistamt service calls. This required some large changes under the hood but should be seamless. As a result of this it is now possible to configure AppDaemon to obtain return information from all service calls whether they return data or not. Although this is not the defualt behavior, if enabled this may reveal issues with slow to complete service calls to for instance ZWave items that were not apparent before.

If you find any issues, please log them at AppDaemon's Github:

Or drop into our Discord Server:

Either way, we will do our best to assist you!


Configuration

📅 Schedule: Branch creation - "after 4am and before 10am on Monday" in timezone Europe/Madrid, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants