Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.trace Namespace Reference

Namespaces

 const
 
 models
 
 util
 
 websocket_api
 

Functions

bool async_setup (HomeAssistant hass, ConfigType config)
 

Variables

list __all__
 
 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
 
string DOMAIN = "trace"
 
string STORAGE_KEY = "trace.saved_traces"
 
int STORAGE_VERSION = 1
 
dictionary TRACE_CONFIG_SCHEMA
 

Detailed Description

Support for script and automation tracing and debugging.

Function Documentation

◆ async_setup()

bool homeassistant.components.trace.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Initialize the trace integration.

Definition at line 48 of file __init__.py.

Variable Documentation

◆ __all__

list homeassistant.components.trace.__all__
private
Initial value:
1 = [
2  "CONF_STORED_TRACES",
3  "TRACE_CONFIG_SCHEMA",
4  "ActionTrace",
5  "async_store_trace",
6 ]

Definition at line 40 of file __init__.py.

◆ _LOGGER

homeassistant.components.trace._LOGGER = logging.getLogger(__name__)
private

Definition at line 27 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.trace.CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)

Definition at line 38 of file __init__.py.

◆ DOMAIN

string homeassistant.components.trace.DOMAIN = "trace"

Definition at line 29 of file __init__.py.

◆ STORAGE_KEY

string homeassistant.components.trace.STORAGE_KEY = "trace.saved_traces"

Definition at line 31 of file __init__.py.

◆ STORAGE_VERSION

int homeassistant.components.trace.STORAGE_VERSION = 1

Definition at line 32 of file __init__.py.

◆ TRACE_CONFIG_SCHEMA

dictionary homeassistant.components.trace.TRACE_CONFIG_SCHEMA
Initial value:
1 = {
2  vol.Optional(CONF_STORED_TRACES, default=DEFAULT_STORED_TRACES): cv.positive_int
3 }

Definition at line 34 of file __init__.py.