Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for the zamg integration."""
2
3
from
datetime
import
timedelta
4
import
logging
5
6
from
homeassistant.const
import
Platform
7
from
homeassistant.util
import
dt
as
dt_util
8
9
DOMAIN =
"zamg"
10
11
PLATFORMS = [Platform.SENSOR, Platform.WEATHER]
12
13
LOGGER = logging.getLogger(__package__)
14
15
ATTR_STATION =
"station"
16
ATTR_UPDATED =
"updated"
17
ATTRIBUTION =
"Data provided by GeoSphere Austria"
18
19
CONF_STATION_ID =
"station_id"
20
21
MANUFACTURER_URL =
"https://www.geosphere.at"
22
23
MIN_TIME_BETWEEN_UPDATES =
timedelta
(minutes=10)
24
VIENNA_TIME_ZONE = dt_util.get_time_zone(
"Europe/Vienna"
)
homeassistant.components.uptimerobot.const.timedelta
timedelta
Definition:
const.py:14
homeassistant.const
Definition:
const.py:1
homeassistant.util
Definition:
__init__.py:1
core
homeassistant
components
zamg
const.py
Generated by
1.9.1