Input_select: Default state on HA startup?

I found something confusing on the HA Wiki here, where it says that by default, after a HA reboot, the initial state will be the first element of the according input_select list.
On the other hand, scrolling a bit down the Wiki page, it says that the default state will be the one prior to stopping HA.

What is true now? Or am I misunderstanding something here?

Thanks in advance.

If you define an initial state, then after a restart that is what the value will be set to. If you don’t define an initial state, then the value form before the restart will be restored.