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

Classes

class  RidwellSensor
 

Functions

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

Variables

string ATTR_CATEGORY = "category"
 
string ATTR_PICKUP_STATE = "pickup_state"
 
string ATTR_PICKUP_TYPES = "pickup_types"
 
string ATTR_QUANTITY = "quantity"
 
 SENSOR_DESCRIPTION
 

Detailed Description

Support for Ridwell sensors.

Function Documentation

◆ async_setup_entry()

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

Definition at line 36 of file sensor.py.

Variable Documentation

◆ ATTR_CATEGORY

string homeassistant.components.ridwell.sensor.ATTR_CATEGORY = "category"

Definition at line 24 of file sensor.py.

◆ ATTR_PICKUP_STATE

string homeassistant.components.ridwell.sensor.ATTR_PICKUP_STATE = "pickup_state"

Definition at line 25 of file sensor.py.

◆ ATTR_PICKUP_TYPES

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

Definition at line 26 of file sensor.py.

◆ ATTR_QUANTITY

string homeassistant.components.ridwell.sensor.ATTR_QUANTITY = "quantity"

Definition at line 27 of file sensor.py.

◆ SENSOR_DESCRIPTION

homeassistant.components.ridwell.sensor.SENSOR_DESCRIPTION
Initial value:
1 = SensorEntityDescription(
2  key=SENSOR_TYPE_NEXT_PICKUP,
3  translation_key="next_pickup",
4  device_class=SensorDeviceClass.DATE,
5 )

Definition at line 29 of file sensor.py.