-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Add Ukraine Alert: Air-raid sirens in Ukraine integration #22672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
balloob
merged 3 commits into
home-assistant:next
from
PaulAnnekov:ua_air_raid_siren_component
May 8, 2022
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 %} | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it explained on the official site what the unknown alarm represents?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. I will ask support. I think it means "something is flying but we don't know what".