WTH why do I need to press 3 buttons to restart home assistant in developer tools?

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

1 Like

Answer: To prevent an accidental ā€œfat fingerā€ restart.

If you want a one-button restart, add a Button card that calls homeassistant.restart.

3 Likes

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.

1 Like

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 :slightly_smiling_face:

Have you considered using Hotkeys to run the restart service?

The letter c opens the command menu.