Hi,
I would like to have multiple conditions in an action, depending of for example what time it is. I’m a beginner, and obviously below is wrong method.
Can some expert help me, please?
- condition: or
conditions:
- condition: state
entity_id: group.personsinfamily
state: not_home
- service: scene.turn_on
target:
entity_id: scene.candles
data:
transition: 5
- condition: or
conditions:
- condition: time
after: input_datetime.morning
before: input_datetime.night
- service: automation.trigger
target:
entity_id: automation.kitchen_day
- condition: or
conditions:
- condition: time
after: input_datetime.night
before: input_datetime.morning
- service: automation.trigger
target:
entity_id: automation.kitchen_night
mode: single