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

Classes

class  TibberDataSensor
 
class  TibberRtDataCoordinator
 
class  TibberRtEntityCreator
 
class  TibberSensor
 
class  TibberSensorElPrice
 
class  TibberSensorRT
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ICON = "mdi:currency-usd"
 
 MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=5)
 
int PARALLEL_UPDATES = 0
 
dictionary RT_SENSORS_UNIQUE_ID_MIGRATION
 
dictionary RT_SENSORS_UNIQUE_ID_MIGRATION_SIMPLE
 
 SCAN_INTERVAL = timedelta(minutes=1)
 
int TWENTY_MINUTES = 20 * 60
 

Detailed Description

Support for Tibber sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.tibber.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up the Tibber sensor.

Definition at line 263 of file sensor.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.tibber.sensor._LOGGER = logging.getLogger(__name__)
private

Definition at line 47 of file sensor.py.

◆ ICON

string homeassistant.components.tibber.sensor.ICON = "mdi:currency-usd"

Definition at line 49 of file sensor.py.

◆ MIN_TIME_BETWEEN_UPDATES

homeassistant.components.tibber.sensor.MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=5)

Definition at line 51 of file sensor.py.

◆ PARALLEL_UPDATES

int homeassistant.components.tibber.sensor.PARALLEL_UPDATES = 0

Definition at line 52 of file sensor.py.

◆ RT_SENSORS_UNIQUE_ID_MIGRATION

dictionary homeassistant.components.tibber.sensor.RT_SENSORS_UNIQUE_ID_MIGRATION
Initial value:
1 = {
2  "accumulated_consumption_last_hour": "accumulated consumption current hour",
3  "accumulated_production_last_hour": "accumulated production current hour",
4  "current_l1": "current L1",
5  "current_l2": "current L2",
6  "current_l3": "current L3",
7  "estimated_hour_consumption": "Estimated consumption current hour",
8 }

Definition at line 55 of file sensor.py.

◆ RT_SENSORS_UNIQUE_ID_MIGRATION_SIMPLE

dictionary homeassistant.components.tibber.sensor.RT_SENSORS_UNIQUE_ID_MIGRATION_SIMPLE
Initial value:
1 = {
2  # simple migration can be done by replacing " " with "_"
3  "accumulated_consumption",
4  "accumulated_cost",
5  "accumulated_production",
6  "accumulated_reward",
7  "average_power",
8  "last_meter_consumption",
9  "last_meter_production",
10  "max_power",
11  "min_power",
12  "power_factor",
13  "power_production",
14  "signal_strength",
15  "voltage_phase1",
16  "voltage_phase2",
17  "voltage_phase3",
18 }

Definition at line 64 of file sensor.py.

◆ SCAN_INTERVAL

homeassistant.components.tibber.sensor.SCAN_INTERVAL = timedelta(minutes=1)

Definition at line 50 of file sensor.py.

◆ TWENTY_MINUTES

int homeassistant.components.tibber.sensor.TWENTY_MINUTES = 20 * 60

Definition at line 53 of file sensor.py.