The Ukraine Alarm integration uses the siren.pp.ua API - public wrapper for Ukraine Alarm web service to offer air-raid siren notifications. The integration will create 6 binary sensors for your selected region in Ukraine:
- Urban Fights
Siren check interval is set to 10 seconds to avoid overloading the API and still be able to react fast enough.
Adding Ukraine Alarm to your Home Assistant instance can be done via the user interface, by using this My button:
If the above My button doesn’t work, you can also perform the following steps manually:
Browse to your Home Assistant instance.
In the sidebar, select Settings.
From the configuration menu, select Devices & Services.
In the bottom right, select the Add Integration button.
From the list, search and select Ukraine Alarm.
Follow the instructions on screen to complete the setup.
You can monitor up to 5 regions to not hit the API rate limit.