Hi Homeassistanters and esphomers,
anyone knows if is possibile to set a variable value for a delay within a script?
I have a script like the one below, but I would like to have the delay duration coming from a global.
I have tried with
dalay: !lambda "id(duration) + 'min'; "
but it is making my device to randomly reboot…
script - id: execBoostMode mode: restart then: - switch.turn_on: heaterRelay - delay: 30 min - switch.turn_off: heaterRelay
Thanks a lot.