Namespaces | |
| mysql | |
| postgresql | |
| sqlite | |
Functions | |
| dict[str, Any] | _async_get_db_engine_info (Recorder instance) |
| dict[str, Any] | _get_db_stats (Recorder instance, str database_name) |
| None | async_register (HomeAssistant hass, system_health.SystemHealthRegistration register) |
| dict[str, Any] | system_health_info (HomeAssistant hass) |
Variables | |
| dictionary | DIALECT_TO_GET_SIZE |
Provide info to system health.
|
private |
Get database engine info.
Definition at line 48 of file __init__.py.
|
private |
Get the stats about the database.
Definition at line 34 of file __init__.py.
| None homeassistant.components.recorder.system_health.async_register | ( | HomeAssistant | hass, |
| system_health.SystemHealthRegistration | register | ||
| ) |
Register system health callbacks.
Definition at line 27 of file __init__.py.
| dict[str, Any] homeassistant.components.recorder.system_health.system_health_info | ( | HomeAssistant | hass | ) |
Get info for the info page.
Definition at line 58 of file __init__.py.
| dictionary homeassistant.components.recorder.system_health.DIALECT_TO_GET_SIZE |
Definition at line 19 of file __init__.py.