Why classic object type notation like this one:
- light.kitchen.turn_on
- delay(0,0,10,0)
- light.kitchen.turn_off
is not used insted of yaml like this:
actions:
- data: {}
target:
entity_id:
- light.kitchen
action: light.turn_on
- delay:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
- data: {}
target:
entity_id:
- light.kitchen
action: light.turn_off