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

Functions

dict[str, Any] convert_dict (dict[str, Any] dictionary)
 
None convert_until (dict status_dict, str until_key)
 
datetime dt_aware_to_naive (datetime dt_aware)
 
datetime dt_local_to_aware (datetime dt_naive)
 
None handle_evo_exception (evo.RequestFailed err)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Support for (EMEA/EU-based) Honeywell TCC systems.

Function Documentation

◆ convert_dict()

dict[str, Any] homeassistant.components.evohome.helpers.convert_dict ( dict[str, Any]  dictionary)
Recursively convert a dict's keys to snake_case.

Definition at line 43 of file helpers.py.

◆ convert_until()

None homeassistant.components.evohome.helpers.convert_until ( dict  status_dict,
str  until_key 
)
Reformat a dt str from "%Y-%m-%dT%H:%M:%SZ" as local/aware/isoformat.

Definition at line 35 of file helpers.py.

◆ dt_aware_to_naive()

datetime homeassistant.components.evohome.helpers.dt_aware_to_naive ( datetime  dt_aware)
Convert a TZ-aware datetime to naive/local.

Definition at line 27 of file helpers.py.

◆ dt_local_to_aware()

datetime homeassistant.components.evohome.helpers.dt_local_to_aware ( datetime  dt_naive)
Convert a local/naive datetime to TZ-aware.

Definition at line 19 of file helpers.py.

◆ handle_evo_exception()

None homeassistant.components.evohome.helpers.handle_evo_exception ( evo.RequestFailed  err)
Return False if the exception can't be ignored.

Definition at line 66 of file helpers.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.evohome.helpers._LOGGER = logging.getLogger(__name__)
private

Definition at line 16 of file helpers.py.