Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.homewizard.sensor Namespace Reference

Classes

class  HomeWizardExternalSensorEntity
 
class  HomeWizardExternalSensorEntityDescription
 
class  HomeWizardSensorEntity
 
class  HomeWizardSensorEntityDescription
 

Functions

None async_setup_entry (HomeAssistant hass, HomeWizardConfigEntry entry, AddEntitiesCallback async_add_entities)
 
float|None to_percentage (float|None value)
 

Variables

dictionary EXTERNAL_SENSORS
 
int PARALLEL_UPDATES = 1
 

Detailed Description

Creates HomeWizard sensor entities.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.homewizard.sensor.async_setup_entry ( HomeAssistant  hass,
HomeWizardConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Initialize sensors.

Definition at line 619 of file sensor.py.

◆ to_percentage()

float | None homeassistant.components.homewizard.sensor.to_percentage ( float | None  value)
Convert 0..1 value to percentage when value is not None.

Definition at line 61 of file sensor.py.

Variable Documentation

◆ EXTERNAL_SENSORS

dictionary homeassistant.components.homewizard.sensor.EXTERNAL_SENSORS

Definition at line 585 of file sensor.py.

◆ PARALLEL_UPDATES

int homeassistant.components.homewizard.sensor.PARALLEL_UPDATES = 1

Definition at line 41 of file sensor.py.