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

Classes

class  ChargePointSensor
 
class  ChargePointTimestampSensor
 
class  GridSensor
 

Functions

None async_setup_entry (HomeAssistant hass, BlueCurrentConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

tuple GRID_SENSORS
 
int PARALLEL_UPDATES = 1
 
tuple SENSORS
 
tuple TIMESTAMP_SENSORS
 

Detailed Description

Support for Blue Current sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.blue_current.sensor.async_setup_entry ( HomeAssistant  hass,
BlueCurrentConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up Blue Current sensors.

Definition at line 212 of file sensor.py.

Variable Documentation

◆ GRID_SENSORS

tuple homeassistant.components.blue_current.sensor.GRID_SENSORS

Definition at line 168 of file sensor.py.

◆ PARALLEL_UPDATES

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

Definition at line 209 of file sensor.py.

◆ SENSORS

tuple homeassistant.components.blue_current.sensor.SENSORS

Definition at line 25 of file sensor.py.

◆ TIMESTAMP_SENSORS

tuple homeassistant.components.blue_current.sensor.TIMESTAMP_SENSORS
Initial value:
1 = (
2  SensorEntityDescription(
3  key="start_datetime",
4  translation_key="start_datetime",
5  ),
6  SensorEntityDescription(
7  key="stop_datetime",
8  translation_key="stop_datetime",
9  ),
10  SensorEntityDescription(
11  key="offline_since",
12  translation_key="offline_since",
13  ),
14 )

Definition at line 153 of file sensor.py.