init home-assistant
This commit is contained in:
28
home-assistant/homeassistant/components/github/const.py
Normal file
28
home-assistant/homeassistant/components/github/const.py
Normal file
@@ -0,0 +1,28 @@
|
||||
"""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"
|
||||
|
||||
|
||||
REFRESH_EVENT_TYPES = (
|
||||
"CreateEvent",
|
||||
"ForkEvent",
|
||||
"IssuesEvent",
|
||||
"PullRequestEvent",
|
||||
"PushEvent",
|
||||
"ReleaseEvent",
|
||||
"WatchEvent",
|
||||
)
|
||||
Reference in New Issue
Block a user