mirror of
https://github.com/home-assistant/core.git
synced 2026-07-04 05:05:38 +01:00
d766aae436
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
33 lines
765 B
Python
33 lines
765 B
Python
"""Constants for the Fully Kiosk Browser integration."""
|
|
|
|
from datetime import timedelta
|
|
import logging
|
|
from typing import Final
|
|
|
|
from homeassistant.components.media_player import MediaPlayerEntityFeature
|
|
|
|
DOMAIN: Final = "fully_kiosk"
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
UPDATE_INTERVAL = timedelta(seconds=30)
|
|
|
|
DEFAULT_PORT = 2323
|
|
|
|
AUDIOMANAGER_STREAM_MUSIC = 3
|
|
|
|
MEDIA_SUPPORT_FULLYKIOSK = (
|
|
MediaPlayerEntityFeature.PLAY_MEDIA
|
|
| MediaPlayerEntityFeature.STOP
|
|
| MediaPlayerEntityFeature.VOLUME_SET
|
|
| MediaPlayerEntityFeature.BROWSE_MEDIA
|
|
)
|
|
|
|
SERVICE_LOAD_URL = "load_url"
|
|
SERVICE_START_APPLICATION = "start_application"
|
|
SERVICE_SET_CONFIG = "set_config"
|
|
|
|
ATTR_URL = "url"
|
|
ATTR_APPLICATION = "application"
|
|
ATTR_KEY = "key"
|
|
ATTR_VALUE = "value"
|