Maybe this isn’t the right place to ask since HACS is a third-party integration, but I have a question.
After updating integrations through HACS, I always see an orange notification stating that a restart is required. Since I have many HACS integrations, and several of them are not actively used, I don’t want to restart Home Assistant every day.
Is there a way to tell Home Assistant to ‘restart later’ or temporarily dismiss the orange notification so it doesn’t stay visible all the time?
I mean theoretically an ask for a timed restart could be a feature request (not one I’d support because I loathe not being there when the restart actually happens)
But you Can drop this little gem into your favorite automation or script and…
I very nearly closed this as the FR section is not for third party integrations (like HACS), but as this is actually about the HA repair/notification system it can stay open.
Unless there is an issue you don’t have to update at the time the update arrives. Do the updates once a day when you have time to restart.
You have the homeassistant.restart action, which can be used in any automation or script of your choice (as @NathanCu already mentioned above). You can use any available trigger for such an automation, like the time or time pattern trigger or even make use of a scheduler.
There is no need for a special “restart later” feature
If you want to get rid of this small notification icon, than you should place a request to the HACS repository, that they make their repair issue ignore-able.
Is there also an action that removes the notification? I hardly ever need the updates to HACS integrations to take effect immediately, mostly the updates fix issues that don’t affect me and I mainly update to sort of stay up to date. But I am totally fine with waiting for the update to take effect the next time I restart HA for some other reason, which sometimes takes a week.
In the grand scheme of things, all of home automation is irrelevant. I see it as a big achievement that even within the small irrelevant universe of HA, this small thing is what people would like to see improved. It’s a testament to how good it is already.
Do I share the feeling that this would be a nice feature to have? Yes. Do I think this is the first thing volunteer devs should spend their sparse time on? No.
Is there no possibility to build in an override into the HA component (is that core or supervisor?) that allows any repair notification to be ignored, even if the integration raising the repair does not offer that explicitly? I think that would be a reasonable feature request and in line with the idea of having the user in control as much as possible.
Technically yes, but it wouldn’t make sense. It is in the responsibility of the integration to create proper repair issues, not HA to overrule this. Further it could be disadvantageous or causing other issues, when forcing to ignore an repair issue, which should not be ignored. Will say, if an repair issue is fine to be ignored, than the integration has to consider and implement this.
So still, just request this change to the HACS repository, maybe they will implement it or have strong arguments against it.
Anyway, this is not an Home Assistant, not Supervisor issue, when a custom integrations repair issues, does not meet the user’s expectations