From 046951c91e7a72ee02c2300e15bec98b59d9ff9f Mon Sep 17 00:00:00 2001 From: Paul Annekov Date: Sun, 8 May 2022 21:49:56 +0300 Subject: [PATCH] Add Ukraine Alert: Air-raid sirens in Ukraine integration (#22672) Co-authored-by: Shay Levy --- source/_integrations/ukraine_alarm.markdown | 30 +++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 source/_integrations/ukraine_alarm.markdown diff --git a/source/_integrations/ukraine_alarm.markdown b/source/_integrations/ukraine_alarm.markdown new file mode 100644 index 00000000000..462fdb16b9b --- /dev/null +++ b/source/_integrations/ukraine_alarm.markdown @@ -0,0 +1,30 @@ +--- +title: Ukraine Alarm +description: Instructions on how to integrate Ukraine Alarm within Home Assistant. +ha_category: + - Other +ha_release: 2022.6 +ha_iot_class: Cloud Polling +ha_config_flow: true +ha_codeowners: + - '@PaulAnnekov' +ha_domain: ukraine_alarm +ha_platforms: + - binary_sensor +ha_integration_type: integration +--- + +The Ukraine Alarm integration uses the [Ukraine Alarm](https://www.ukrainealarm.com/) web service to offer air-raid siren notifications. The integration will create 4 binary sensors for your selected region in Ukraine: + +- Air +- Artillery +- Urban Fights +- Unknown + +Siren check interval is set to 10 seconds to avoid overloading the API and still be able to react fast enough. + +## Setup + +To generate an Ukraine Alarm API key, go to [Ukraine Alarm APIs](https://api.ukrainealarm.com/) page, fill in a form and wait for an email with an API key. + +{% include integrations/config_flow.md %}