Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106317

After: ?variable? (yaml)

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 106317

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>