Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.logbook.processor Namespace Reference

Classes

class  ContextAugmenter
 
class  EntityNameCache
 
class  EventCache
 
class  EventProcessor
 
class  LogbookRun
 

Functions

Generator[dict[str, Any]] _humanify (HomeAssistant hass, Generator[EventAsRow]|Sequence[Row]|Result rows, er.EntityRegistry ent_reg, LogbookRun logbook_run, ContextAugmenter context_augmenter)
 
bool _rows_ids_match (Row|EventAsRow row, Row|EventAsRow other_row)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Event parser and human readable log generator.

Function Documentation

◆ _humanify()

Generator[dict[str, Any]] homeassistant.components.logbook.processor._humanify ( HomeAssistant  hass,
Generator[EventAsRow] | Sequence[Row] | Result  rows,
er.EntityRegistry  ent_reg,
LogbookRun  logbook_run,
ContextAugmenter  context_augmenter 
)
private
Generate a converted list of events into entries.

Definition at line 202 of file processor.py.

◆ _rows_ids_match()

bool homeassistant.components.logbook.processor._rows_ids_match ( Row | EventAsRow  row,
Row | EventAsRow  other_row 
)
private
Check of rows match by using the same method as Events __hash__.

Definition at line 388 of file processor.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.logbook.processor._LOGGER = logging.getLogger(__name__)
private

Definition at line 85 of file processor.py.