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

Static Public Attributes

 SCHEMA = vol.Schema(BASE_SCHEMA | STORAGE_SCHEDULE_SCHEMA)
 

Private Member Functions

SerializedStorageCollection|None _async_load_data (self)
 
str _get_suggested_id (self, dict info)
 
dict _process_create_data (self, dict data)
 
dict _update_data (self, dict item, dict update_data)
 

Detailed Description

Schedules stored in storage.

Definition at line 211 of file __init__.py.

Member Function Documentation

◆ _async_load_data()

SerializedStorageCollection | None homeassistant.components.schedule.ScheduleStorageCollection._async_load_data (   self)
private
Load the data.

Definition at line 232 of file __init__.py.

◆ _get_suggested_id()

str homeassistant.components.schedule.ScheduleStorageCollection._get_suggested_id (   self,
dict  info 
)
private
Suggest an ID based on the config.

Definition at line 222 of file __init__.py.

◆ _process_create_data()

dict homeassistant.components.schedule.ScheduleStorageCollection._process_create_data (   self,
dict  data 
)
private
Validate the config is valid.

Definition at line 216 of file __init__.py.

◆ _update_data()

dict homeassistant.components.schedule.ScheduleStorageCollection._update_data (   self,
dict  item,
dict  update_data 
)
private
Return a new updated data object.

Definition at line 227 of file __init__.py.

Member Data Documentation

◆ SCHEMA

homeassistant.components.schedule.ScheduleStorageCollection.SCHEMA = vol.Schema(BASE_SCHEMA | STORAGE_SCHEDULE_SCHEMA)
static

Definition at line 214 of file __init__.py.


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