mirror of
https://github.com/home-assistant/core.git
synced 2025-04-27 10:47:51 +00:00

* re-support playing media via roku * fixes * test fixes * Update test_media_player.py * always send media type * add description to options flow
24 lines
424 B
Python
24 lines
424 B
Python
"""Constants for the Roku integration."""
|
|
|
|
DOMAIN = "roku"
|
|
|
|
# Attributes
|
|
ATTR_ARTIST_NAME = "artist_name"
|
|
ATTR_CONTENT_ID = "content_id"
|
|
ATTR_FORMAT = "format"
|
|
ATTR_KEYWORD = "keyword"
|
|
ATTR_MEDIA_TYPE = "media_type"
|
|
ATTR_THUMBNAIL = "thumbnail"
|
|
|
|
# Default Values
|
|
DEFAULT_PORT = 8060
|
|
|
|
# Services
|
|
SERVICE_SEARCH = "search"
|
|
|
|
# Config
|
|
CONF_PLAY_MEDIA_APP_ID = "play_media_app_id"
|
|
|
|
# Defaults
|
|
DEFAULT_PLAY_MEDIA_APP_ID = "15985"
|