Hi,
there is way to use a variable after " after: ?
My variable is “vtramonto”
- condition: time
- after: vtramonto*
Thanks
MY CODE YAML
[. . . ]
condition:
- condition: time
before: ‘06:00:00’
after: vtramonto <----**** how is the correct syntax??? ***
mode: single
variables:
vtramonto: >-
{{(as_timestamp(state_attr(“sun.sun”,“next_setting”))|timestamp_local)[-8:]}}
2 posts - 2 participants