Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.recorder.models.context Namespace Reference

Functions

str|None bytes_to_uuid_hex_or_none (bytes|None _bytes)
 
bytes|None uuid_hex_to_bytes_or_none (str|None uuid_hex)
 

Variables

 _LOGGER
 

Detailed Description

Models for Recorder.

Function Documentation

◆ bytes_to_uuid_hex_or_none()

str | None homeassistant.components.recorder.models.context.bytes_to_uuid_hex_or_none ( bytes | None  _bytes)
Convert bytes to a uuid hex.

Definition at line 31 of file context.py.

◆ uuid_hex_to_bytes_or_none()

bytes | None homeassistant.components.recorder.models.context.uuid_hex_to_bytes_or_none ( str | None  uuid_hex)
Convert a uuid hex to bytes.

Definition at line 21 of file context.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.recorder.models.context._LOGGER
private

Definition at line 17 of file context.py.