hass-core/homeassistant/components/zha
puddly 4ec75d6ca7
Use new zigpy OTA providers for ZHA (#111159)
* Use `None` instead of `"unknown"` when the current version is unknown

* Only use the current file version from the OTA notification

* Use `sw_version`, if available, and update `current_file_version`

* Assume the current version is the latest version

* Fix lint errors

* Use `image` instead of `firmware`

* Include a changelog if updates expose it

* Clear latest firmware only after updating the installed version

* Bump minimum zigpy version to 0.63.0

* Create a data update coordinator to consolidate updates

* Fix overridden `async_update`

* Fix most unit tests

* Simplify `test_devices` to fix current tests

* Use a dict comprehension for creating mocked entities

* Fix unit tests (thanks @dmulcahey!)

* Update the currently installed version on cluster attribute update

* Drop `PARALLEL_UPDATES` now that we use an update coordinator

* Drop `_reset_progress`, it is already handled by the update component

* Do not update the progress if we are not supposed to be updating

* Ignore latest version (e.g. if device attrs changed) if zigpy rejects it

* Clean up handling of command id in `Ota.cluster_command`

* Start progress at 1%: 0 and False are considered equal and are filtered!

Use `ceil` instead of remapping 1-100

* The installed version will be auto-updated when the upgrade succeeds

* Avoid 1 as well, it collides with `True`

* Bump zigpy to (unreleased) 0.63.2

* Fix unit tests

* Fix existing unit tests

Send both event types

Globally enable sending both event types

* Remove unnecessary branches

* Test ignoring invalid progress callbacks

* Test updating a device with a no longer compatible firmware
2024-02-28 14:38:04 -05:00
..
core Use new zigpy OTA providers for ZHA (#111159) 2024-02-28 14:38:04 -05:00
repairs
__init__.py Remove ZHA storage file cleanup logic (#111088) 2024-02-21 22:02:41 +01:00
alarm_control_panel.py Apply consistent naming to ZHA cluster handler implementations (#108851) 2024-01-25 20:09:38 -05:00
api.py
backup.py
binary_sensor.py Add additional entities for the Aqara E1 curtain motor to ZHA (#108243) 2024-01-30 22:40:33 -05:00
button.py
climate.py Add migrated climate feature flags to zha (#109443) 2024-02-03 03:06:55 +01:00
config_flow.py
cover.py Clean up ZHA cover entity and add support for inverting cover entities derived from the window covering cluster (#108238) 2024-01-30 13:59:00 +01:00
device_action.py
device_tracker.py
device_trigger.py
diagnostics.py Add device list to ZHA config entry diagnostics (#111549) 2024-02-27 06:44:26 -05:00
entity.py Migrate zha to use Debouncer.async_schedule_call (#111103) 2024-02-23 07:28:23 -10:00
fan.py
light.py Filter ZHA light group color modes (#108861) 2024-01-30 15:14:03 -05:00
lock.py
logbook.py Use covariant for fire event data type (#110843) 2024-02-18 13:21:55 +01:00
manifest.json Use new zigpy OTA providers for ZHA (#111159) 2024-02-28 14:38:04 -05:00
number.py Extend ZHA thermostat local temperature calibration range for Sonoff TRVZB (#109691) 2024-02-27 08:32:23 -05:00
radio_manager.py
select.py Add additional entities for the Aqara E1 curtain motor to ZHA (#108243) 2024-01-30 22:40:33 -05:00
sensor.py Add device counter entities to ZHA (#111175) 2024-02-23 13:22:47 -05:00
services.yaml
silabs_multiprotocol.py
siren.py Apply consistent naming to ZHA cluster handler implementations (#108851) 2024-01-25 20:09:38 -05:00
strings.json Add additional entities for the Aqara E1 curtain motor to ZHA (#108243) 2024-01-30 22:40:33 -05:00
switch.py Add additional entities for the Aqara E1 curtain motor to ZHA (#108243) 2024-01-30 22:40:33 -05:00
update.py Use new zigpy OTA providers for ZHA (#111159) 2024-02-28 14:38:04 -05:00
websocket_api.py Add ZHA support for Bosch Twinguard and siren install QR codes (#107460) 2024-01-31 12:02:34 -05:00