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 82 of file __init__.py.
| dict[str, Any] homeassistant.components.event.EventExtraStoredData.as_dict | ( | self | ) |
Return a dict representation of the event data.
Reimplemented from homeassistant.helpers.restore_state.ExtraStoredData.
Definition at line 88 of file __init__.py.
| Self | None homeassistant.components.event.EventExtraStoredData.from_dict | ( | cls, | |
| dict[str, Any] | restored | ||
| ) |
Initialize a stored event state from a dict.
Definition at line 93 of file __init__.py.