Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.template.weather.WeatherExtraStoredData Class Reference
Inheritance diagram for homeassistant.components.template.weather.WeatherExtraStoredData:
[legend]
Collaboration diagram for homeassistant.components.template.weather.WeatherExtraStoredData:
[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 460 of file weather.py.

Member Function Documentation

◆ as_dict()

dict[str, Any] homeassistant.components.template.weather.WeatherExtraStoredData.as_dict (   self)
Return a dict representation of the event data.

Reimplemented from homeassistant.helpers.restore_state.ExtraStoredData.

Definition at line 475 of file weather.py.

◆ from_dict()

Self | None homeassistant.components.template.weather.WeatherExtraStoredData.from_dict (   cls,
dict[str, Any]  restored 
)
Initialize a stored event state from a dict.

Definition at line 480 of file weather.py.


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