Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.template.binary_sensor.AutoOffExtraStoredData Class Reference
Inheritance diagram for homeassistant.components.template.binary_sensor.AutoOffExtraStoredData:
[legend]
Collaboration diagram for homeassistant.components.template.binary_sensor.AutoOffExtraStoredData:
[legend]

Public Member Functions

dict[str, Any] as_dict (self)
 
Self|None from_dict (cls, dict[str, Any] restored)
 

Detailed Description

Object to hold extra stored data.

Definition at line 483 of file binary_sensor.py.

Member Function Documentation

◆ as_dict()

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.

◆ from_dict()

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.


The documentation for this class was generated from the following file: