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

Functions

Platform find_matching_platform (DevicePoint device_point, SensorEntityDescription|NumberEntityDescription|None description=None)
 
bool skip_entity (str model, DevicePoint device_point)
 
str transform_model_series (str prefix)
 

Variables

tuple PARAMETER_ID_TO_EXCLUDE_F730
 
tuple PARAMETER_ID_TO_INCLUDE_SMO20
 
tuple WEEKDAYS
 

Detailed Description

Helper collection for myuplink.

Function Documentation

◆ find_matching_platform()

Platform homeassistant.components.myuplink.helpers.find_matching_platform ( DevicePoint  device_point,
SensorEntityDescription | NumberEntityDescription | None   description = None 
)
Find entity platform for a DevicePoint.

Definition at line 12 of file helpers.py.

◆ skip_entity()

bool homeassistant.components.myuplink.helpers.skip_entity ( str  model,
DevicePoint  device_point 
)
Check if entity should be skipped for this device model.

Definition at line 107 of file helpers.py.

◆ transform_model_series()

str homeassistant.components.myuplink.helpers.transform_model_series ( str  prefix)
Remap all F-series models.

Definition at line 126 of file helpers.py.

Variable Documentation

◆ PARAMETER_ID_TO_EXCLUDE_F730

tuple homeassistant.components.myuplink.helpers.PARAMETER_ID_TO_EXCLUDE_F730

Definition at line 51 of file helpers.py.

◆ PARAMETER_ID_TO_INCLUDE_SMO20

tuple homeassistant.components.myuplink.helpers.PARAMETER_ID_TO_INCLUDE_SMO20
Initial value:
1 = (
2  "40940",
3  "47011",
4  "47015",
5  "47028",
6  "47032",
7  "50004",
8 )

Definition at line 97 of file helpers.py.

◆ WEEKDAYS

tuple homeassistant.components.myuplink.helpers.WEEKDAYS
Initial value:
1 = (
2  "monday",
3  "tuesday",
4  "wednesday",
5  "thursday",
6  "friday",
7  "saturday",
8  "sunday",
9 )

Definition at line 41 of file helpers.py.