Hello Home Assistant Community,
I'd like to introduce my new custom integration for Home Assistant: AlertSwiss.
This integration brings official AlertSwiss notifications directly into Home Assistant, allowing you to use Swiss alerts, warnings and emergency information in your automations and dashboards.
Since AlertSwiss currently does not provide a public API, the integration retrieves data directly from the official website and updates it every 10 minutes by default.
Features
• Sensor showing the number of active alerts
• Binary sensor indicating whether any alerts are currently active
• New alerts sensor that can be used as a trigger for automations and push notifications
• Geo-location events for displaying alert locations on the Home Assistant map
• Multi-language support (German, English, French and Italian)
• Configurable search radius around your Home Assistant location
• Adjustable update interval
• Filtering by minimum severity level (Information, Warning, Alarm)
Example Use Cases
• Push notifications when new alerts are issued in your area
• Map view displaying active alerts nearby
• Dashboard tables showing all active alerts
• Automations based on alert type or severity
Installation
- Download or clone the repository
- Copy the
custom_components/alertswissfolder into your Home Assistant installation - Restart Home Assistant
- Add the integration via Settings → Devices & Services
GitHub Repository
Data Source
All alert data originates from AlertSwiss, the official Swiss alert and information platform.
Feedback
Feedback, feature requests and suggestions are always welcome. Feel free to post them in this thread or open an issue on GitHub.
Project Note
A significant portion of the code was created with the help of AI tools (Codex / vibe coding). The integration has been running reliably in my Home Assistant test environment for several weeks and is being actively maintained and improved.
Screenshots
Looking forward for your feedback, best regards
r2k



