Files
Matrix-Server/custom_components/matrix_messenger/const.py
T
Ceddy 39dbbe5eee v1.2.0: HACS-Kompatibilität, App-Icon, bereinigte Konfiguration
- manifest.json: codeowners, documentation, issue_tracker, mdi:matrix icon
- hacs.json: homeassistant-Feld entfernt (gehört in manifest.json)
- brand/: icon.png, icon@2x.png, dark_icon.png, dark_icon@2x.png hinzugefügt
- icon/icon.svg: Matrix-Chat SVG-Icon hinzugefügt
- generate_icons.py: PNG-Generator für brand/-Verzeichnis

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-03 00:30:56 +02:00

23 lines
616 B
Python

"""Constants for Matrix Messenger integration."""
DOMAIN = "matrix_messenger"
CONF_HOMESERVER = "homeserver"
CONF_AUTH_METHOD = "auth_method"
CONF_USERNAME = "username"
CONF_PASSWORD = "password"
CONF_ACCESS_TOKEN = "access_token"
CONF_DEVICE_ID = "device_id"
CONF_DEVICE_NAME = "device_name"
CONF_ROOMS = "rooms"
CONF_ENABLE_SYNC = "enable_sync"
CONF_ACCOUNT_LABEL = "account_label"
AUTH_METHOD_PASSWORD = "password"
AUTH_METHOD_TOKEN = "token"
DEFAULT_DEVICE_NAME = "Home Assistant Matrix Messenger"
DEFAULT_SYNC_INTERVAL = 5
DEFAULT_QUESTION_TIMEOUT = 1800
EVENT_MATRIX_RESPONSE = "matrix_messenger_response"