I use something similar to this in most of my docker containers:
image: homeassistant/home-assistant:0.77.2
So - define the exact version for a more controlled upgrade process. After that re-running docker-compose up will pull the version you put in the config file.
If for some reason it doesn’t work as you like it - just revert version to lower and do a docker-compose up again.
This way you will have to delete old pulled images manually, but it will be more controlled.
I would like to combine it with an alert within HASS, to notify every time a new update is available, but seems the following setup is not working, althought was working on HASS.IO:
alias: ‘Update Available Notifications’
trigger:
platform: state
entity_id: updater.updater
action:
service: notify.notify_to_telegram
data:
message: ‘Update for Home Assistant is available.’
There is anything different in HASS compared to HASS.IO about this?