Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for the GitHub integration."""
2
3
from
__future__
import
annotations
4
5
from
datetime
import
timedelta
6
from
logging
import
Logger, getLogger
7
8
LOGGER: Logger = getLogger(__package__)
9
10
DOMAIN =
"github"
11
12
CLIENT_ID =
"1440cafcc86e3ea5d6a2"
13
14
DEFAULT_REPOSITORIES = [
"home-assistant/core"
,
"esphome/esphome"
]
15
FALLBACK_UPDATE_INTERVAL =
timedelta
(hours=1, minutes=30)
16
17
CONF_REPOSITORIES =
"repositories"
18
19
20
REFRESH_EVENT_TYPES = (
21
"CreateEvent"
,
22
"ForkEvent"
,
23
"IssuesEvent"
,
24
"PullRequestEvent"
,
25
"PushEvent"
,
26
"ReleaseEvent"
,
27
"WatchEvent"
,
28
)
homeassistant.components.uptimerobot.const.timedelta
timedelta
Definition:
const.py:14
core
homeassistant
components
github
const.py
Generated by
1.9.1