Hello everyone - today we have a new AD release, the first from our new repository, and hopefully all the automated builds and checks should be working after a bit of a reconfigure
Nothing earth shattering in this release but I do want to call out a couple of relevant things:
-
We re-added support for SSL (which has been missing since we went to AD 4.0 - sorry about that!) This should hopefully also fix the Google integration.
-
We added some additional startup checks to the hass plugin. As HASS recently changed it’s startup sequence to be more reactive, we wanted to make sure that it was fully started before AD started running automations. This should be fulkly transparent, and is implemented as an additional plugin_startup parameter under the covers.
Thanks as always to the team for their work on this release - we’ve all been a little distracted with world events recently so we apologize for the wait for this release, and hopefully we will be able to get back to normal soon!
As ever, let us know here or on our discord if you have any questions or comments - happy automating!
4.0.4
Features
- All module dependencies pinned to exact versions for better environmental predictability
- Bump pyyaml to 5.3
- Bump yarl to 1.4.2
- Bump bcrypt to 3.1.7
- Bump jinja2 to 2.10.3
- Bump aiohttp-jinja2 to 1.2.0
- Bump deepdiff from 4.0.9 to 4.2.0
- Bump jinja2 from 2.11.0 to 2.11.1
- Bump deepdiff from 4.2.0 to 4.3.1
- Bump pygments from 2.5.2 to 2.6.1
- Add Azure pipelines for Black and Flake - contributed by
Bas Nijholt <https://github.com/basnijholt>
__ - Added service call for
remove_entity
- Added ability to use
now
inrun_every
. Also seconds can be added by simply usingnow+10
for example - Presence convenience functions now support a
person
flag to use person entities rather than device trackers for presence detection -
constrain_person
constraints added to support person entities - Add stream support for SockJS
- Dashboard component now only sends event updates for relevant dashboard entities rather than broadcasting all state_change events
- Admin UI now breaks out App instance and lifetime callback stats separately
- Convert admin and dashboard to get_state from stream
- Increase default work factor for password hashes to 12
- Added
add_entity
api call, alongesidestate/add_entity
service call - Added the ability to remove plugin entities like
HA
when using theremove_entity
api - Cleanup sequences when modified. This ensures removed sequences are also removed from the Admin UI and AD
- Added support to use environment variables using the
!env_var
tag, if not wanting to use the!secrets
tag - Additional format for time travel start and end times accepted
- Added the ability to specify a callback to hass get_history. This way, large amount of data can be retrieved from the database, without AD cancelling the task
- Added retry_secs parameter to the hass plugin
Fixes
- Re-added support for SSL in the http module (should also fix dialogflow)
- Add openssl-dev package to docker image (required for RPI)
- Fixed up socketio support to work with the new stream semantics
- Fixed a bug that allowed multiple copies of an App to run if there was an error in the signature of terminate()
- AppDaemon’s REST API no longer needs to be active to use the dashboard or Admin interfaces
- Fix tzdata error in docker build for RPI - contributed by
Guy Khmelnitsky <https://github.com/GuyKh>
__ - Fix for
get_tz_offset()
not working in some circumstances - contributed bysillyfrog <https://github.com/sillyfrog>
__ - Added some locking to prevent array size change errors
- Fix for registering services created in HA, after it had started
- Added additional logic to wait for full HASS startup
Breaking Changes
- Changed
websocket_connected
andwebsocket_disconnected
events tostream_connected
andstream_disconnected
respectively - Changed the
get_history
api, asentity_id
has been removed from the api