Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template:
- - binary_sensor:
- - name: is summer on
- device_class: heat
- state: >-
- {{ 'on' if (now().strftime('%m%d')>='0601' and now().strftime('%m%d')<'1001') else 'off' }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement