I’m trying to create a new template sensor to get today’s calendar events and use the count of them for the state, along with an attribute for the array itself. I noticed when I used dev tools to check the yaml configurations before I rebooted, that it now gives the error below. I figured maybe something was wrong with my new template, so I deleted it, saved, and checked the dev tools again, but now it seems other templates that had been running just fine with time_pattern triggers are also an issue now. Anyone know if something changed recently? I’m running 2025.3.2 now. Noticed issue starting with 2025.3.1 earlier today.
Platform error ‘sensor’ from integration ‘time_pattern’ - Integration ‘time_pattern’ not found.
ETA: new template is below with simple test data for now if it helps at all
- trigger:
- platform: template
value_template: "{{ now().minute % 30 == 0 }}"
- platform: homeassistant
event: start
- platform: time_pattern
hours: /1
action:
- service: calendar.get_events
target:
entity_id: calendar.family
data:
start_date_time: "{{ now().strftime('%Y-%m-%d 00:00:00') }}"
end_date_time: "{{ (now() + timedelta(days=1)).strftime('%Y-%m-%d 00:00:00') }}"
response_variable: family_events
sensor:
- name: Family Events Today
state: "test"
attributes:
all_events: "test data"