Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for the Backup integration."""
2
3
from
__future__
import
annotations
4
5
from
logging
import
getLogger
6
from
typing
import
TYPE_CHECKING
7
8
from
homeassistant.util.hass_dict
import
HassKey
9
10
if
TYPE_CHECKING:
11
from
.manager
import
BackupManager
12
13
DOMAIN =
"backup"
14
DATA_MANAGER: HassKey[BackupManager] =
HassKey
(DOMAIN)
15
LOGGER = getLogger(__package__)
16
17
EXCLUDE_FROM_BACKUP = [
18
"__pycache__/*"
,
19
".DS_Store"
,
20
".HA_RESTORE"
,
21
"*.db-shm"
,
22
"*.log.*"
,
23
"*.log"
,
24
"backups/*.tar"
,
25
"OZW_Log.txt"
,
26
"tts/*"
,
27
]
homeassistant.util.hass_dict.HassKey
Definition:
hass_dict.py:9
homeassistant.util.hass_dict
Definition:
hass_dict.py:1
core
homeassistant
components
backup
const.py
Generated by
1.9.1