Events 1.7.0+
Events let you track when something happens in your home.
Unlike flags or modes, events maintain a history—you can check whether an event happened today, within a certain time window, or a specific number of times.
Events are ideal for tracking occurrences that you want to analyze over time, such as motion detections, door openings, or custom triggers.
How it works
When an event is triggered, a timestamped entry is added to its history.
You can then check this history using various conditions to build smarter automations.
Events are useful for:
- Limiting actions based on how often something has happened
- Detecting patterns like "door opened three times in 5 minutes"
- Checking if something happened at all today
- Building conditional logic based on recent activity
Events are not tied to any specific device. They track custom occurrences you define.
Flow cards
These flow cards let you trigger, clear, and check events directly from your flows.
Actions
Conditions
Triggers
Examples
Limit notifications
Only send a notification if the doorbell hasn't been pressed in the last 5 minutes. This prevents spam when someone presses the bell multiple times.
Detect suspicious activity
If the front door opens more than five times within 10 minutes, send an alert. Useful for detecting unusual entry patterns.
Daily digest
Check if mail was delivered today before sending a reminder notification in the evening.
Notes
- Events maintain a limited history of recent occurrences.
- Clearing an event removes all its history—it will no longer pass the "happened" condition.
- Use descriptive names to make your automations easy to understand.