Smoother upgrade without waiting

after doing pip install -U homeassistant home-assistant-frontend. a restart will upgrade all each integration and its dependencies which take a lot of time before starting everything.

suggestion: allow upgrade integration and its dependencies before restarting

current what I do is to script like:
{{{
pip install -U homeassistant home-assistant-frontend
hass -c /etc/homeassistant --script ensure_config (a few dependencies but everything, is upgraded)
hass -c /etc/homeassistant --script check_config (a few dependencies but everything, is upgraded)
hass -c /etc/homeassistant (upgrade everything, but it won’t exit)

sv restart homeassistant (never reach here)
}}}

suggestion: add hass -c /etc/homeassistant --upgrade. my upgrade script will now be:

{{{
pip install -U homeassistant home-assistant-frontend
hass -c /etc/homeassistant --upgrade
sv restart homeassistant
}}}

A bit of advice…I’d share your FR using the correct format for the code

:one::one: Format it properly

When sharing the code, share it as text and not an image. When you do that, remember that spacing is critical in YAML, and if you just throw the code on the page then it’ll look ugly and nobody will know if the problem is because of spacing. We need you to use code blocks and appropriate markup.

You can also vote for your own FR

Are you running core? if so it is 99% self supported, and few people know what you are talking about.
More than half the the HA users just say yes when offered an up date.

1 Like