Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""OpenSky constants."""
2
3
import
logging
4
5
from
homeassistant.const
import
Platform
6
7
LOGGER = logging.getLogger(__package__)
8
9
PLATFORMS = [Platform.SENSOR]
10
DEFAULT_NAME =
"OpenSky"
11
DOMAIN =
"opensky"
12
MANUFACTURER =
"OpenSky Network"
13
CONF_ALTITUDE =
"altitude"
14
CONF_CONTRIBUTING_USER =
"contributing_user"
15
ATTR_ICAO24 =
"icao24"
16
ATTR_CALLSIGN =
"callsign"
17
ATTR_ALTITUDE =
"altitude"
18
ATTR_ON_GROUND =
"on_ground"
19
ATTR_SENSOR =
"sensor"
20
ATTR_STATES =
"states"
21
DEFAULT_ALTITUDE = 0
22
23
EVENT_OPENSKY_ENTRY = f
"{DOMAIN}_entry"
24
EVENT_OPENSKY_EXIT = f
"{DOMAIN}_exit"
homeassistant.const
Definition:
const.py:1
core
homeassistant
components
opensky
const.py
Generated by
1.9.1