Automated timed upgrade when available

I generally wouldn’t apply automatic upgrades, but I’ve never had an HA upgrade break anything on my system, so in this case I’m inclined to allow it to upgrade automatically.

Has anyone written a script that would automatically perform the upgrade at a specific time when one is available. Preferably I’d like a script that doesn’t just perform a pip3 install homeassistant -U at a specific time each day but when there is an upgrade available.

1 Like

You could modify the example for updater component to run an update script.

Not aware of that component, I’ll have look.