I have one light with a few automation’s. The one automation to turn off the light takes over the rest. Is there a way to get around this? Like in the morning I would like it to stay on for 10 mins but it turns off after 3 mins.
## Turn on Hall Light when leaving for work
- alias: Turn Hall Light On At 6:15
trigger:
platform: time
at: '06:15:00'
condition:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: homeassistant.turn_on
entity_id: switch.front_hall_light_switch
- delay: '00:10:00'
- service: homeassistant.turn_off
entity_id: switch.front_hall_light_switch
## Turn Hall light on when I get Home
- alias: Turn Hall light on when I get Home
trigger:
platform: state
entity_id: binary_sensor.front_door
to: 'on'
condition:
condition: and
conditions:
- condition: sun
after: sunset
after_offset: "-00:30:00"
action:
- service: homeassistant.turn_on
entity_id: switch.front_hall_light_switch
## Turn Hall light off after 3 minutes
- alias: Turn Hall light off after 3 minutes
trigger:
platform: state
entity_id: switch.front_hall_light_switch
to: 'on'
action:
- delay: '00:03:00'
- service: homeassistant.turn_off
entity_id: switch.front_hall_light_switch