Sorry in advance for being terrible at templates. Maybe I am overthinking how to do this, but all I want to do is create a template binary sensor for specific calendar events. The template below is returning false, despite it being true (all day event)
- platform: template
sensors:
vanessa_day_off:
friendly_name: Vanessa Day Off
value_template: >-
{% if state_attr('calendar.mygooglecalendar.message', 'Day off') %}
true
{% else %}
false
{% endif %}