Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.rest.util Namespace Reference

Functions

dict[str, Any] parse_json_attributes (str|None value, list[str] json_attrs, str|None json_attrs_path)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Helpers for RESTful API.

Function Documentation

◆ parse_json_attributes()

dict[str, Any] homeassistant.components.rest.util.parse_json_attributes ( str | None  value,
list[str]  json_attrs,
str | None   json_attrs_path 
)
Parse JSON attributes.

Definition at line 13 of file util.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.rest.util._LOGGER = logging.getLogger(__name__)
private

Definition at line 10 of file util.py.