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

Classes

class  ReCollectWasteSensor
 

Functions

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

Variables

string ATTR_AREA_NAME = "area_name"
 
string ATTR_PICKUP_TYPES = "pickup_types"
 
tuple SENSOR_DESCRIPTIONS
 
string SENSOR_TYPE_CURRENT_PICKUP = "current_pickup"
 
string SENSOR_TYPE_NEXT_PICKUP = "next_pickup"
 

Detailed Description

Support for ReCollect Waste sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.recollect_waste.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up ReCollect Waste sensors based on a config entry.

Definition at line 41 of file sensor.py.

Variable Documentation

◆ ATTR_AREA_NAME

string homeassistant.components.recollect_waste.sensor.ATTR_AREA_NAME = "area_name"

Definition at line 24 of file sensor.py.

◆ ATTR_PICKUP_TYPES

string homeassistant.components.recollect_waste.sensor.ATTR_PICKUP_TYPES = "pickup_types"

Definition at line 23 of file sensor.py.

◆ SENSOR_DESCRIPTIONS

tuple homeassistant.components.recollect_waste.sensor.SENSOR_DESCRIPTIONS
Initial value:
1 = (
2  SensorEntityDescription(
3  key=SENSOR_TYPE_CURRENT_PICKUP,
4  translation_key=SENSOR_TYPE_CURRENT_PICKUP,
5  ),
6  SensorEntityDescription(
7  key=SENSOR_TYPE_NEXT_PICKUP,
8  translation_key=SENSOR_TYPE_NEXT_PICKUP,
9  ),
10 )

Definition at line 29 of file sensor.py.

◆ SENSOR_TYPE_CURRENT_PICKUP

string homeassistant.components.recollect_waste.sensor.SENSOR_TYPE_CURRENT_PICKUP = "current_pickup"

Definition at line 26 of file sensor.py.

◆ SENSOR_TYPE_NEXT_PICKUP

string homeassistant.components.recollect_waste.sensor.SENSOR_TYPE_NEXT_PICKUP = "next_pickup"

Definition at line 27 of file sensor.py.