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