Home Assistant Unofficial Reference 2024.12.1
sensor.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.group.sensor.SensorGroup
 

Namespaces

 homeassistant.components.group.sensor
 

Functions

bool homeassistant.components.group.sensor._has_numeric_state (HomeAssistant hass, str entity_id)
 
SensorGroup homeassistant.components.group.sensor.async_create_preview_sensor (HomeAssistant hass, str name, dict[str, Any] validated_config)
 
None homeassistant.components.group.sensor.async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
None homeassistant.components.group.sensor.async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 
tuple[dict[str, str|None], float|None] homeassistant.components.group.sensor.calc_last (list[tuple[str, float, State]] sensor_values)
 
tuple[dict[str, str|None], float|None] homeassistant.components.group.sensor.calc_max (list[tuple[str, float, State]] sensor_values)
 
tuple[dict[str, str|None], float|None] homeassistant.components.group.sensor.calc_mean (list[tuple[str, float, State]] sensor_values)
 
tuple[dict[str, str|None], float|None] homeassistant.components.group.sensor.calc_median (list[tuple[str, float, State]] sensor_values)
 
tuple[dict[str, str|None], float|None] homeassistant.components.group.sensor.calc_min (list[tuple[str, float, State]] sensor_values)
 
tuple[dict[str, str|None], float] homeassistant.components.group.sensor.calc_product (list[tuple[str, float, State]] sensor_values)
 
tuple[dict[str, str|None], float] homeassistant.components.group.sensor.calc_range (list[tuple[str, float, State]] sensor_values)
 
tuple[dict[str, str|None], float] homeassistant.components.group.sensor.calc_stdev (list[tuple[str, float, State]] sensor_values)
 
tuple[dict[str, str|None], float] homeassistant.components.group.sensor.calc_sum (list[tuple[str, float, State]] sensor_values)
 

Variables

 homeassistant.components.group.sensor._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.group.sensor.ATTR_LAST = "last"
 
string homeassistant.components.group.sensor.ATTR_LAST_ENTITY_ID = "last_entity_id"
 
string homeassistant.components.group.sensor.ATTR_MAX_ENTITY_ID = "max_entity_id"
 
string homeassistant.components.group.sensor.ATTR_MAX_VALUE = "max_value"
 
string homeassistant.components.group.sensor.ATTR_MEAN = "mean"
 
string homeassistant.components.group.sensor.ATTR_MEDIAN = "median"
 
string homeassistant.components.group.sensor.ATTR_MIN_ENTITY_ID = "min_entity_id"
 
string homeassistant.components.group.sensor.ATTR_MIN_VALUE = "min_value"
 
string homeassistant.components.group.sensor.ATTR_PRODUCT = "product"
 
string homeassistant.components.group.sensor.ATTR_RANGE = "range"
 
string homeassistant.components.group.sensor.ATTR_STDEV = "stdev"
 
string homeassistant.components.group.sensor.ATTR_SUM = "sum"
 
string homeassistant.components.group.sensor.DEFAULT_NAME = "Sensor Group"
 
int homeassistant.components.group.sensor.PARALLEL_UPDATES = 0
 
 homeassistant.components.group.sensor.PLATFORM_SCHEMA
 
dictionary homeassistant.components.group.sensor.SENSOR_TYPE_TO_ATTR = {v: k for k, v in SENSOR_TYPES.items()}
 
dictionary homeassistant.components.group.sensor.SENSOR_TYPES