Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.text.TextExtraStoredData Class Reference
Inheritance diagram for homeassistant.components.text.TextExtraStoredData:
[legend]
Collaboration diagram for homeassistant.components.text.TextExtraStoredData:
[legend]

Public Member Functions

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

Detailed Description

Object to hold extra stored data.

Definition at line 242 of file __init__.py.

Member Function Documentation

◆ as_dict()

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.

◆ from_dict()

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.


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