Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.number.NumberExtraStoredData Class Reference
Inheritance diagram for homeassistant.components.number.NumberExtraStoredData:
[legend]
Collaboration diagram for homeassistant.components.number.NumberExtraStoredData:
[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 507 of file __init__.py.

Member Function Documentation

◆ as_dict()

dict[str, Any] homeassistant.components.number.NumberExtraStoredData.as_dict (   self)
Return a dict representation of the number data.

Reimplemented from homeassistant.helpers.restore_state.ExtraStoredData.

Definition at line 516 of file __init__.py.

◆ from_dict()

Self | None homeassistant.components.number.NumberExtraStoredData.from_dict (   cls,
dict[str, Any]  restored 
)
Initialize a stored number state from a dict.

Definition at line 521 of file __init__.py.


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