Classes | |
| class | _IntegrationMethod |
| class | _IntegrationTrigger |
| class | _Left |
| class | _Right |
| class | _Trapezoidal |
| class | IntegrationSensor |
| class | IntegrationSensorExtraStoredData |
Functions | |
| Decimal|None | _decimal_state (str state) |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
| None | async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| int | DEFAULT_ROUND = 3 |
| dictionary | DEVICE_CLASS_MAP |
| Final | |
| PLATFORM_SCHEMA | |
| dictionary | UNIT_PREFIXES = {None: 1, "k": 10**3, "M": 10**6, "G": 10**9, "T": 10**12} |
| dictionary | UNIT_TIME |
Numeric integration of data coming from a source sensor over time.
|
private |
| None homeassistant.components.integration.sensor.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| None homeassistant.components.integration.sensor.async_setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | async_add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
|
private |
| int homeassistant.components.integration.sensor.DEFAULT_ROUND = 3 |
| dictionary homeassistant.components.integration.sensor.DEVICE_CLASS_MAP |
| homeassistant.components.integration.sensor.PLATFORM_SCHEMA |
| dictionary homeassistant.components.integration.sensor.UNIT_PREFIXES = {None: 1, "k": 10**3, "M": 10**6, "G": 10**9, "T": 10**12} |