I have been trying to figure this out for several hours now. I have two scripts and I am trying to pass an int variable from one to the other.
master_bed_transition:
sequence:
- service: script.turn_on
entity_id: script.light_transition
data:
variables:
time: 2 # <-- this is part of my problem
lightname: 'ge_12724_3way_dimmer_switch_level'_switch_level'
light_transition:
sequence
....
- delay:
seconds: "{{ time }}" <-- I don't know what to put here
....
I have tried a lot of different variations of syntax, but no dice. Any help would be appreciated.