Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.teslemetry.helpers Namespace Reference

Functions

dict[str, Any] flatten (dict[str, Any] data, str|None parent=None)
 
dict[str, Any] handle_command (command)
 
Any handle_vehicle_command (command)
 
None wake_up_vehicle (vehicle)
 

Detailed Description

Teslemetry helper functions.

Function Documentation

◆ flatten()

dict[str, Any] homeassistant.components.teslemetry.helpers.flatten ( dict[str, Any]  data,
str | None   parent = None 
)
Flatten the data structure.

Definition at line 13 of file helpers.py.

◆ handle_command()

dict[str, Any] homeassistant.components.teslemetry.helpers.handle_command (   command)
Handle a command.

Definition at line 54 of file helpers.py.

◆ handle_vehicle_command()

Any homeassistant.components.teslemetry.helpers.handle_vehicle_command (   command)
Handle a vehicle command.

Definition at line 68 of file helpers.py.

◆ wake_up_vehicle()

None homeassistant.components.teslemetry.helpers.wake_up_vehicle (   vehicle)
Wake up a vehicle.

Definition at line 26 of file helpers.py.