Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.matter.update Namespace Reference

Classes

class  MatterUpdate
 
class  MatterUpdateExtraStoredData
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

string ATTR_SOFTWARE_UPDATE = "software_update"
 
list DISCOVERY_SCHEMAS
 
int POLL_AFTER_INSTALL = 10
 
 SCAN_INTERVAL = timedelta(hours=12)
 

Detailed Description

Matter update.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.matter.update.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up Matter lock from Config Entry.

Definition at line 60 of file update.py.

Variable Documentation

◆ ATTR_SOFTWARE_UPDATE

string homeassistant.components.matter.update.ATTR_SOFTWARE_UPDATE = "software_update"

Definition at line 35 of file update.py.

◆ DISCOVERY_SCHEMAS

list homeassistant.components.matter.update.DISCOVERY_SCHEMAS
Initial value:
1 = [
2  MatterDiscoverySchema(
3  platform=Platform.UPDATE,
4  entity_description=UpdateEntityDescription(
5  key="MatterUpdate", device_class=UpdateDeviceClass.FIRMWARE, name=None
6  ),
7  entity_class=MatterUpdate,
8  required_attributes=(
9  clusters.BasicInformation.Attributes.SoftwareVersion,
10  clusters.BasicInformation.Attributes.SoftwareVersionString,
11  clusters.OtaSoftwareUpdateRequestor.Attributes.UpdatePossible,
12  clusters.OtaSoftwareUpdateRequestor.Attributes.UpdateState,
13  clusters.OtaSoftwareUpdateRequestor.Attributes.UpdateStateProgress,
14  ),
15  ),
16 ]

Definition at line 250 of file update.py.

◆ POLL_AFTER_INSTALL

int homeassistant.components.matter.update.POLL_AFTER_INSTALL = 10

Definition at line 33 of file update.py.

◆ SCAN_INTERVAL

homeassistant.components.matter.update.SCAN_INTERVAL = timedelta(hours=12)

Definition at line 32 of file update.py.