Skip to content

Latest commit

 

History

History
116 lines (76 loc) · 7.35 KB

File metadata and controls

116 lines (76 loc) · 7.35 KB

{% if prerelease %}

NB!: This is a Beta version!

{% endif %}

Home Assistant - Custom Components DPC Alert

ITALY METEO-HYDRO ALERT

To get more detailed information about parameters of warnings visit Civil Protection Department. Dipartimento Protezione Civile.


hacs Validate

GitHub latest release GitHub Release Date Maintenancebadge GitHub issuesbadge

Websitebadge Forum telegrambadge facebookbadge

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 %}

Changes as compared to your installed version

{% 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 %}

Breaking Changes

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).

Changes

  • Added sensor
  • Added new extra attributes in binary sensor (id, publication_date, expires, last_update, image_url)

{% endif %}


{% endif %}

{% if not installed %}

Installation

  1. In the HomeAssistant left menu, click Configuration
  2. Click Integrations
  3. Click ADD INTEGRATION
  4. Type Dpc and select it
  5. Enter the details:
    1. Name: Your location name or name of sensor
    2. Latitude: Latitude of monitored point
    3. Longitude: Longitude of monitored point
  6. Optional:
    1. Binary sensor enable/disable (default enabled)
    2. Sensor enabled/disable (default enabled)
    3. Update interval (minutes, default 30)
    4. Minimum level of warning. (int, default 2)

{% endif %}



Cards: card-mod, auto-entities



Cards: card-mod, markdown