mirror of
https://github.com/home-assistant/core.git
synced 2026-04-28 20:53:45 +01:00
21 lines
509 B
Python
21 lines
509 B
Python
"""Constants for the Mastodon integration."""
|
|
|
|
import logging
|
|
from typing import Final
|
|
|
|
LOGGER = logging.getLogger(__name__)
|
|
|
|
DOMAIN: Final = "mastodon"
|
|
|
|
CONF_BASE_URL: Final = "base_url"
|
|
DATA_HASS_CONFIG = "mastodon_hass_config"
|
|
DEFAULT_URL: Final = "https://mastodon.social"
|
|
DEFAULT_NAME: Final = "Mastodon"
|
|
|
|
ATTR_STATUS = "status"
|
|
ATTR_VISIBILITY = "visibility"
|
|
ATTR_CONTENT_WARNING = "content_warning"
|
|
ATTR_MEDIA_WARNING = "media_warning"
|
|
ATTR_MEDIA = "media"
|
|
ATTR_MEDIA_DESCRIPTION = "media_description"
|