Set the initial state of the automations you don’t want to be on by default to ‘off’. Then you can turn them on as you desire. Then whenever you restart they will go back to the initial state.
But I think its unfavorable to do this in a configuration file. What I want to use are this switches in the Group. If this switches are not keep there state, they are completely useless.
Maybe I will open an issue on github.
it’s directly in the automation and works perfectly fine.
- id: diningroom_lights_on_with_movement
alias: Turn on diningroom light when there is movement
initial_state: 'off'
trigger:
platform: state
entity_id: sensor.diningroom_camera_motion
to: 'on'
action:
service: homeassistant.turn_on
entity_id:
- light.zw_light_2