Public Member Functions | |
| dict[str, Any] | as_dict (self) |
| Self|None | from_dict (cls, dict[str, Any] restored) |
| dict[str, Any] homeassistant.components.integration.sensor.IntegrationSensorExtraStoredData.as_dict | ( | self | ) |
Return a dict representation of the utility sensor data.
Reimplemented from homeassistant.components.sensor.SensorExtraStoredData.
| Self | None homeassistant.components.integration.sensor.IntegrationSensorExtraStoredData.from_dict | ( | cls, | |
| dict[str, Any] | restored | ||
| ) |
Initialize a stored sensor state from a dict.
Reimplemented from homeassistant.components.sensor.SensorExtraStoredData.