There should be an option to always restart Home Assistant straight away if I choose so.
I wish HA would not have to restart so much when tinkering
Answer: To prevent an accidental āfat fingerā restart.
If you want a one-button restart, add a Button card that calls homeassistant.restart
.
When building something, one anyway has to open several tools (in different browser tabs): logs, template simulator, states, code editor, dashboards etc. One of those tools could be the āSettingsā page with the restart button.
The good news is: if you are not constantly building something, at some point you are done and from there on you hopefully do not have to restart HA that often.
I agree thatās the sensible approach for the default action - but it would be nice to have that choice as an advanced user. If I choose to activate the instant restart and then accidentally mess up my system - well my fault.
Given that itās so easy to add a Button card, plus the fact that you can even customize it with a confirmation
, is why itās unlikely that development time will be expended to make the restart button configurable.
Please correct me if I am wrong but even on the settings page you still get the ādo you really want to restart home assistantā dialog.
I constantly tweak the yaml of my home assistant instance and - while things have certainly improved in terms of being able to partially reload yaml rather than having to constantly restart - I do need to restart home assistant because I messed up something. So I personally would find it helpful to have an instant restart button on the yaml page under developer tools - one less open tab