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

Static Public Attributes

 CREATE_SCHEMA = vol.Schema(CREATE_FIELDS)
 
 UPDATE_SCHEMA = vol.Schema(UPDATE_FIELDS)
 

Private Member Functions

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

Zone collection stored in storage.

Definition at line 213 of file __init__.py.

Member Function Documentation

◆ _get_suggested_id()

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

Definition at line 224 of file __init__.py.

◆ _process_create_data()

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

Definition at line 219 of file __init__.py.

◆ _update_data()

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

Definition at line 228 of file __init__.py.

Member Data Documentation

◆ CREATE_SCHEMA

homeassistant.components.zone.ZoneStorageCollection.CREATE_SCHEMA = vol.Schema(CREATE_FIELDS)
static

Definition at line 216 of file __init__.py.

◆ UPDATE_SCHEMA

homeassistant.components.zone.ZoneStorageCollection.UPDATE_SCHEMA = vol.Schema(UPDATE_FIELDS)
static

Definition at line 217 of file __init__.py.


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