Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.recorder.core Namespace Reference

Classes

class  Recorder
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 ADJUST_LRU_SIZE_TASK = AdjustLRUSizeTask()
 
 COMMIT_TASK = CommitTask()
 
string CONNECTIVITY_ERR = "Error in database connectivity during commit"
 
int DB_LOCK_QUEUE_CHECK_TIMEOUT = 10
 
int DB_LOCK_TIMEOUT = 30
 
string DEFAULT_URL = "sqlite:///{hass_config_path}"
 
int EXPIRE_AFTER_COMMITS = 120
 
string INVALIDATED_ERR = "Database connection invalidated"
 
 KEEP_ALIVE_TASK = KeepAliveTask()
 
int MAX_DB_EXECUTOR_WORKERS = POOL_SIZE - 1
 
 QUEUE_CHECK_INTERVAL = timedelta(minutes=5)
 
 SHUTDOWN_TASK = object()
 
 WAIT_TASK = WaitTask()
 

Detailed Description

Support for recording details.

Variable Documentation

◆ _LOGGER

homeassistant.components.recorder.core._LOGGER = logging.getLogger(__name__)
private

Definition at line 123 of file core.py.

◆ ADJUST_LRU_SIZE_TASK

homeassistant.components.recorder.core.ADJUST_LRU_SIZE_TASK = AdjustLRUSizeTask()

Definition at line 136 of file core.py.

◆ COMMIT_TASK

homeassistant.components.recorder.core.COMMIT_TASK = CommitTask()

Definition at line 133 of file core.py.

◆ CONNECTIVITY_ERR

string homeassistant.components.recorder.core.CONNECTIVITY_ERR = "Error in database connectivity during commit"

Definition at line 144 of file core.py.

◆ DB_LOCK_QUEUE_CHECK_TIMEOUT

int homeassistant.components.recorder.core.DB_LOCK_QUEUE_CHECK_TIMEOUT = 10

Definition at line 139 of file core.py.

◆ DB_LOCK_TIMEOUT

int homeassistant.components.recorder.core.DB_LOCK_TIMEOUT = 30

Definition at line 138 of file core.py.

◆ DEFAULT_URL

string homeassistant.components.recorder.core.DEFAULT_URL = "sqlite:///{hass_config_path}"

Definition at line 125 of file core.py.

◆ EXPIRE_AFTER_COMMITS

int homeassistant.components.recorder.core.EXPIRE_AFTER_COMMITS = 120

Definition at line 129 of file core.py.

◆ INVALIDATED_ERR

string homeassistant.components.recorder.core.INVALIDATED_ERR = "Database connection invalidated"

Definition at line 143 of file core.py.

◆ KEEP_ALIVE_TASK

homeassistant.components.recorder.core.KEEP_ALIVE_TASK = KeepAliveTask()

Definition at line 134 of file core.py.

◆ MAX_DB_EXECUTOR_WORKERS

int homeassistant.components.recorder.core.MAX_DB_EXECUTOR_WORKERS = POOL_SIZE - 1

Definition at line 147 of file core.py.

◆ QUEUE_CHECK_INTERVAL

homeassistant.components.recorder.core.QUEUE_CHECK_INTERVAL = timedelta(minutes=5)

Definition at line 141 of file core.py.

◆ SHUTDOWN_TASK

homeassistant.components.recorder.core.SHUTDOWN_TASK = object()

Definition at line 131 of file core.py.

◆ WAIT_TASK

homeassistant.components.recorder.core.WAIT_TASK = WaitTask()

Definition at line 135 of file core.py.