mirror of
https://github.com/home-assistant/core.git
synced 2026-08-24 10:13:52 -05:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
23 lines
579 B
Python
23 lines
579 B
Python
"""Consts for the Ukraine Alarm."""
|
|
|
|
from homeassistant.const import Platform
|
|
|
|
DOMAIN = "ukraine_alarm"
|
|
ATTRIBUTION = "Data provided by Ukraine Alarm"
|
|
MANUFACTURER = "Ukraine Alarm"
|
|
ALERT_TYPE_UNKNOWN = "UNKNOWN"
|
|
ALERT_TYPE_AIR = "AIR"
|
|
ALERT_TYPE_ARTILLERY = "ARTILLERY"
|
|
ALERT_TYPE_URBAN_FIGHTS = "URBAN_FIGHTS"
|
|
ALERT_TYPE_CHEMICAL = "CHEMICAL"
|
|
ALERT_TYPE_NUCLEAR = "NUCLEAR"
|
|
ALERT_TYPES = {
|
|
ALERT_TYPE_UNKNOWN,
|
|
ALERT_TYPE_AIR,
|
|
ALERT_TYPE_ARTILLERY,
|
|
ALERT_TYPE_URBAN_FIGHTS,
|
|
ALERT_TYPE_CHEMICAL,
|
|
ALERT_TYPE_NUCLEAR,
|
|
}
|
|
PLATFORMS = [Platform.BINARY_SENSOR]
|