mirror of
https://github.com/bahmcloud/owncloud-backup-ha.git
synced 2026-04-06 13:31:15 +00:00
Add constants for owncloud_backup component
This commit is contained in:
16
custom_components/owncloud_backup/const.py
Normal file
16
custom_components/owncloud_backup/const.py
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
DOMAIN = "owncloud_backup"
|
||||||
|
|
||||||
|
CONF_BASE_URL = "base_url"
|
||||||
|
CONF_USERNAME = "username"
|
||||||
|
CONF_PASSWORD = "password"
|
||||||
|
CONF_BACKUP_PATH = "backup_path"
|
||||||
|
CONF_VERIFY_SSL = "verify_ssl"
|
||||||
|
|
||||||
|
DATA_CLIENT = "client"
|
||||||
|
DATA_BACKUP_AGENT_LISTENERS = "backup_agent_listeners"
|
||||||
|
|
||||||
|
TAR_PREFIX = "ha_backup_"
|
||||||
|
TAR_SUFFIX = ".tar"
|
||||||
|
META_SUFFIX = ".json"
|
||||||
Reference in New Issue
Block a user