Additional Inherited Members | |
Public Attributes inherited from homeassistant.components.sensor.SensorEntity | |
| entity_category | |
| registry_entry | |
| unit_of_measurement | |
Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| device_entry | |
| entity_id | |
| hass | |
| parallel_updates | |
| platform | |
| registry_entry | |
Static Public Attributes inherited from homeassistant.components.sensor.SensorEntity | |
| Decimal | |
| None | |
| UndefinedType | |
Static Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| bool | |
| EntityPlatform | |
| HomeAssistant | |
| None | |
| StateInfo | |
| StateType | |
| str | |
Mixin class for restoring previous sensor state.
Definition at line 926 of file __init__.py.
| SensorExtraStoredData | None homeassistant.components.sensor.RestoreSensor.async_get_last_sensor_data | ( | self | ) |
Restore native_value and native_unit_of_measurement.
Reimplemented in homeassistant.components.utility_meter.sensor.UtilityMeterSensor, and homeassistant.components.integration.sensor.IntegrationSensor.
Definition at line 934 of file __init__.py.
| SensorExtraStoredData homeassistant.components.sensor.RestoreSensor.extra_restore_state_data | ( | self | ) |
Return sensor specific state data to be restored.
Reimplemented in homeassistant.components.utility_meter.sensor.UtilityMeterSensor, and homeassistant.components.integration.sensor.IntegrationSensor.
Definition at line 930 of file __init__.py.