Prefered_state: 'off' option on automations

Currently i’m using multiple input_boolean for each sensor, to select if it needs to trigger the alarm and or lights. This allows me to have a lovelace configuration interface where i can quickly change what the sensor needs to do. The input_booleans are off by default.

I would like to use `initial_state: ’ on the automation instead of the input_booleans so the automation is by default off, but initial_state resets the setting on each reboot.

An option like prefered_state: false which is only used when the state was undefined, but if you enable the automation it remembers it after a reboot.