GeoSphere Austria Warnings

The GeoSphere Austria Warnings integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] provides official weather warnings issued by the Austrian national weather service GeoSphere Austria (formerly known as ZAMG).

Warnings are published per Austrian municipality and cover storm, rain, snow, black ice, thunderstorm, heat, and cold events with the severity levels yellow, orange, and red.

Warning data is provided by GeoSphere Austria under the Creative Commons Attribution 4.0 license.

Use cases

  • Get notified when an official weather warning is issued for your home or another location in Austria.
  • Trigger automations when the warning level rises that close covers or disable irrigation, for example.
  • Show the current warning level on your dashboard.

Prerequisites

Warnings are provided for Austrian municipalities only. The integration determines the municipality from the location you select, so that location must be within Austria.

Configuration

To add the GeoSphere Austria Warnings service to your Home Assistant instance, use this My button:

Manual configuration steps

If the above My button doesn’t work, you can also perform the following steps manually:

  • Browse to your Home Assistant instance.

  • Go to Settings > Devices & services.

  • In the bottom right corner, select the Add Integration button.

  • From the list, select GeoSphere Austria Warnings.

  • Follow the instructions on screen to complete the setup.

Location

The location to monitor. Warnings are provided for the Austrian municipality at this location. Defaults to your Home Assistant location.

To monitor multiple municipalities, add a separate entry for each location. Each entry covers exactly one municipality. If you select a location in a municipality you already monitor, the entry is not added again.

Supported functionality

Each entry adds one service deviceA device is a model representing a physical or logical unit that contains entities. named after the monitored municipality, providing the following entitiesAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more]. The device links to warnungen.zamg.at, where you can look up the details of each warning.

Sensors

  • Warning level
    • Description: The highest severity level of all currently active warnings.
    • Possible states: No warning, Yellow, Orange, Red.
  • Active warnings
    • Description: The number of currently active warnings.
    • Unit: warnings

Automation examples

The real power of this integration is to allow the creation of automations based on official weather warnings.

Tip

You don’t need to edit YAML to use these examples. Copy a YAML snippet from this page, open the automation editor in Home Assistant, and press Ctrl+V (or Cmd+V on Mac). Home Assistant automatically converts the pasted YAML into the visual editor format, whether it’s a full automation, a single trigger, a condition, or an action.

Automation: sending a weather warning notification

Get a notification when a weather warning becomes active.

Entities are named after the monitored municipality, for example sensor.innsbruck_warning_level.

  • Trigger: State
    • Entity: Innsbruck warning level (sensor.innsbruck_warning_level)
    • To: Yellow
    • To: Orange
    • To: Red
  • Action: Send a notification message
    • Target: My Device (notify.my_device)
    • Message: Warning level {{ states('sensor.innsbruck_warning_level') }} with {{ states('sensor.innsbruck_active_warnings') }} active warning(s) for Innsbruck.
    • Title: Weather warning
YAML example for notifying on weather warning
AutomationAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more]
alias: "Notify on weather warning"
triggers:
  - trigger: state
    entity_id: sensor.innsbruck_warning_level
    to:
      - yellow
      - orange
      - red
actions:
  - action: notify.send_message
    target:
      entity_id: notify.my_device
    data:
      title: "Weather warning"
      message: >-
        Warning level {{ states('sensor.innsbruck_warning_level') }}
        with {{ states('sensor.innsbruck_active_warnings') }}
        active warning(s) for Innsbruck.

Data updates

The integration pollsData polling is the process of querying a device or service at regular intervals to check for updates or retrieve data. By defining a custom polling interval, you can control how frequently your system checks for new data, which can help optimize performance and reduce unnecessary network traffic. [Learn more] the GeoSphere Austria warning service every 5 minutes. Each poll first checks whether GeoSphere Austria published new warning data, and only downloads the full data when something changed. No authentication or API key is required.

Known limitations

  • Warnings are only available for locations within Austria.
  • Warnings are resolved per municipality. Locations within the same municipality receive identical warnings, even if conditions differ locally.
  • The integration reports the warnings published by GeoSphere Austria as-is; it does not forecast or interpret weather data itself.

Troubleshooting

No Austrian municipality was found

The selected location is outside of Austria, or too far from any municipality boundary. Check the latitude and longitude, and select a location within Austria.

If this message appears for an entry that already worked before, the configured location can no longer be resolved to a municipality. Delete the entry and add it again with a location within Austria.

Entities are unavailable

The GeoSphere Austria warning service could not be reached. Check your internet connection and whether warnungen.zamg.at is reachable. The integration recovers automatically once the service is available again.

Removing the integration

This integration follows standard integration removal. No extra steps are required.

To remove an integration instance from Home Assistant

  1. Go to Settings > Devices & services and select the integration card.
  2. From the list of devices, select the integration instance you want to remove.
  3. Next to the entry, select the three dots menu. Then, select Delete.