{% if prerelease %}
{% endif %}
To get more detailed information about parameters of warnings visit Civil Protection Department. Dipartimento Protezione Civile.
This custom integration retrieves data from Civil Protection Department This custom component gathers regular and special meteo alerts from DPC (valid only for Italy, Republic of San Marino, Vatican City State).
{% if installed %}
{% if version_installed.replace("v", "").replace(".","") | int < 202180 %}
Please remove the old installation and reinstall the new one. Otherwise, orphan entities could be created.
{% endif %}
{% if version_installed.replace("v", "").replace(".","") | int < 202170 %}
Integration now available to set up from the UI.
The yaml configuration is no longer supported. Please read the README file and remove the yaml config.
For binary sensors, the attributes in Italian language (allerta, data, rischio, zona_info) have been replaced in English (alert, date, risk, zone_name).
- Added
sensor
- Added new extra attributes in binary sensor (id, publication_date, expires, last_update, image_url)
{% endif %}
{% endif %}
{% if not installed %}
- In the HomeAssistant left menu, click
Configuration
- Click
Integrations
- Click
ADD INTEGRATION
- Type
Dpc
and select it - Enter the details:
- Name: Your location name or name of sensor
- Latitude: Latitude of monitored point
- Longitude: Longitude of monitored point
- Optional:
- Binary sensor enable/disable (default enabled)
- Sensor enabled/disable (default enabled)
- Update interval (minutes, default 30)
- Minimum level of warning. (int, default 2)
{% endif %}