Public Member Functions | |
| dict[str, Any] | as_dict (self) |
| Self|None | from_dict (cls, dict[str, Any] restored) |
Object to hold extra stored data.
Definition at line 507 of file __init__.py.
| dict[str, Any] homeassistant.components.number.NumberExtraStoredData.as_dict | ( | self | ) |
Return a dict representation of the number data.
Reimplemented from homeassistant.helpers.restore_state.ExtraStoredData.
Definition at line 516 of file __init__.py.
| Self | None homeassistant.components.number.NumberExtraStoredData.from_dict | ( | cls, | |
| dict[str, Any] | restored | ||
| ) |
Initialize a stored number state from a dict.
Definition at line 521 of file __init__.py.