1
0
mirror of https://github.com/home-assistant/core.git synced 2026-07-10 00:05:13 +01:00
Files
core/homeassistant/components/github/const.py
T
Joost Lekkerkerker cf0b5c6e51 Migrate GitHub to subentries (#160564)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Josef Zweck <josef@zweck.dev>
2026-04-23 14:23:47 +02:00

32 lines
641 B
Python

"""Constants for the GitHub integration."""
from __future__ import annotations
from datetime import timedelta
from logging import Logger, getLogger
LOGGER: Logger = getLogger(__package__)
DOMAIN = "github"
CLIENT_ID = "1440cafcc86e3ea5d6a2"
DEFAULT_REPOSITORIES = ["home-assistant/core", "esphome/esphome"]
FALLBACK_UPDATE_INTERVAL = timedelta(hours=1, minutes=30)
CONF_REPOSITORIES = "repositories"
CONF_REPOSITORY = "repository"
SUBENTRY_TYPE_REPOSITORY = "repository"
REFRESH_EVENT_TYPES = (
"CreateEvent",
"ForkEvent",
"IssuesEvent",
"PullRequestEvent",
"PushEvent",
"ReleaseEvent",
"WatchEvent",
)