* 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 |
||
---|---|---|
.. | ||
__init__.py | ||
common.py | ||
conftest.py | ||
data.py | ||
test_alarm_control_panel.py | ||
test_api.py | ||
test_backup.py | ||
test_base.py | ||
test_binary_sensor.py | ||
test_button.py | ||
test_climate.py | ||
test_cluster_handlers.py | ||
test_config_flow.py | ||
test_cover.py | ||
test_device.py | ||
test_device_action.py | ||
test_device_tracker.py | ||
test_device_trigger.py | ||
test_diagnostics.py | ||
test_discover.py | ||
test_fan.py | ||
test_gateway.py | ||
test_helpers.py | ||
test_init.py | ||
test_light.py | ||
test_lock.py | ||
test_logbook.py | ||
test_number.py | ||
test_radio_manager.py | ||
test_registries.py | ||
test_repairs.py | ||
test_select.py | ||
test_sensor.py | ||
test_silabs_multiprotocol.py | ||
test_siren.py | ||
test_switch.py | ||
test_update.py | ||
test_websocket_api.py | ||
zha_devices_list.py |