core/homeassistant/components/matter
Stefan Agner 07b2a7537b
Add Matter update entities for devices with OTA requestor (#120304)
* Add Matter update entities for devices with OTA requestor

Matter devices which support the OTA requestor cluster can receive
updates from a OTA provider. The Home Assistant Python Matter Server
implements such an OTA provider now.

Add update entities for devices which support the OTA requestor cluster
and check for available updates. Allow the user to update the firmware.
The update progress will be read directly from the devices' OTA
requestor cluster.

* Update homeassistant/components/matter/update.py

Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>

* Bump python-matter-server to 6.3.0

This includes models and commands required for device firmware updates.

* Fix tests by including the new bluetooth_enabled field

* Add update entity tests

* Fix update entity test

* Update entity picture docstring

* Add note about reasons for progress state change update

* Enable polling for update entities by default

Matter entities don't enable polling any longer. Enable polling for
update entities by default.

* Add comment about why Update entities are polled

---------

Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
2024-07-23 15:25:02 +02:00
..
__init__.py
adapter.py
addon.py
api.py
binary_sensor.py
climate.py
config_flow.py
const.py
cover.py
diagnostics.py
discovery.py Add Matter update entities for devices with OTA requestor (#120304) 2024-07-23 15:25:02 +02:00
entity.py Disable polling for Matter entities by default (#122452) 2024-07-23 13:43:12 +02:00
event.py Fix several issues with the Matter Generic Switch Cluster (#122191) 2024-07-23 10:10:32 +02:00
fan.py
helpers.py
icons.json
light.py
lock.py
manifest.json Add Matter update entities for devices with OTA requestor (#120304) 2024-07-23 15:25:02 +02:00
models.py
number.py
select.py
sensor.py Fix several issues with the Matter Generic Switch Cluster (#122191) 2024-07-23 10:10:32 +02:00
strings.json Fix several issues with the Matter Generic Switch Cluster (#122191) 2024-07-23 10:10:32 +02:00
switch.py
update.py Add Matter update entities for devices with OTA requestor (#120304) 2024-07-23 15:25:02 +02:00
util.py