Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template:
- - sensor:
- - name: "Day of year even or odd"
- state: "{{ int(as_timestamp(now()) / 86400) is divisibleby 2 }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement