Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for YouTube integration."""
2
3
import
logging
4
5
DEFAULT_ACCESS = [
"https://www.googleapis.com/auth/youtube.readonly"
]
6
DOMAIN =
"youtube"
7
MANUFACTURER =
"Google, Inc."
8
CHANNEL_CREATION_HELP_URL =
"https://support.google.com/youtube/answer/1646861"
9
10
CONF_CHANNELS =
"channels"
11
CONF_UPLOAD_PLAYLIST =
"upload_playlist_id"
12
COORDINATOR =
"coordinator"
13
AUTH =
"auth"
14
15
LOGGER = logging.getLogger(__package__)
16
17
ATTR_TITLE =
"title"
18
ATTR_TOTAL_VIEWS =
"total_views"
19
ATTR_LATEST_VIDEO =
"latest_video"
20
ATTR_SUBSCRIBER_COUNT =
"subscriber_count"
21
ATTR_DESCRIPTION =
"description"
22
ATTR_THUMBNAIL =
"thumbnail"
23
ATTR_VIDEO_ID =
"video_id"
24
ATTR_PUBLISHED_AT =
"published_at"
core
homeassistant
components
youtube
const.py
Generated by
1.9.1