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 483 of file binary_sensor.py.
| dict[str, Any] homeassistant.components.template.binary_sensor.AutoOffExtraStoredData.as_dict | ( | self | ) |
Return a dict representation of additional data.
Reimplemented from homeassistant.helpers.restore_state.ExtraStoredData.
Definition at line 488 of file binary_sensor.py.
| Self | None homeassistant.components.template.binary_sensor.AutoOffExtraStoredData.from_dict | ( | cls, | |
| dict[str, Any] | restored | ||
| ) |
Initialize a stored binary sensor state from a dict.
Definition at line 501 of file binary_sensor.py.