Full-featured automation for the IKEA MYGGBETT E2492 Matter Door/Window Sensor. This blueprint supports multi-stage actions for both opened and closed states, allowing you to handle immediate responses and delayed “safeguard” or notification actions in a single automation.
Benefits
- Multi-Stage Logic: Trigger immediate actions (e.g., turn on light) followed by delayed actions (e.g., notify if door is left open too long).
- Parallel Execution: Handles multiple state changes and timers concurrently.
- Battery Management: Built-in battery low monitoring with a configurable threshold (default 30%).
- Highly Flexible: All actions are optional and support multiple sub-actions.
Example Use Cases
- Bathroom Occupancy:
- Open: Turn on light.
- Closed Long: After 30 minutes of being closed, ensure lights are off as a backup.
- Garage Door Security:
- Open Immediate: Turn on garage light.
- Open Long: After 15 minutes, notify “Garage door left open!” or automatically close it.
Requirements
- IKEA MYGGBETT (E2492) sensor connected via Matter.
- The sensor should expose a
binary_sensorwithdevice_class: door,window, oropening. - (Optional) The sensor should expose a
sensorwithdevice_class: battery.
License
Licensed under the MIT License.
More Blueprints & Community
Check out my other blueprints for IKEA Matter devices on the Home Assistant Community: