SHOW:
|
|
- or go back to the newest paste.
1 | - | - name: 'indkøbsdag' |
1 | + | template: |
2 | - | state: > |
2 | + | - binary_sensor: |
3 | - | {% if now().date() == states('input_datetime.indkobsdag') %} |
3 | + | - name: Indkøbsdag |
4 | - | true |
4 | + | unique_id: 27adfd9d4355466698c720b4e28aae81 |
5 | - | {% else %} |
5 | + | state: "{{ ''~now().date() == states('input_datetime.indkobsdag') }}" |