Add update platform to ZHA (bumps zigpy to 0.61.0) (#107612)

* stub out zha update entity

* update matcher

* updates based on assumptions / conversation

* hook into current installed version

* post rebase cleanup

* incorporate zigpy changes

* fix async_setup_entry

* fix sw_version

* make ota work with config diagnostic match

* fix version format

* sync up with latest Zigpy changes

* fix name attribute

* disable ota providers for tests

* update device list

* review comment

* add current_file_version to Ota ZCL_INIT_ATTRS

* updates to update and start tests

* get installed version from restore data

* better version handling

* remove done todo notes

* reorganize test

* move image notify to cluster handler

* add test for manual update check

* firmware update success test

* coverage

* use zigpy defs

* clean up after rebase

* bump Zigpy

* cleanup from review comments

* fix busted F string

* fix empty error

* move inside check

* guard zigbee network from bulk check for updates
This commit is contained in:
David F. Mulcahey 2024-01-30 22:34:48 -05:00 committed by GitHub
parent 2f9f0bae46
commit 3115af1041
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 1291 additions and 19 deletions

View file

@ -154,6 +154,14 @@ async def zigpy_app_controller():
zigpy.config.CONF_STARTUP_ENERGY_SCAN: False,
zigpy.config.CONF_NWK_BACKUP_ENABLED: False,
zigpy.config.CONF_TOPO_SCAN_ENABLED: False,
zigpy.config.CONF_OTA: {
zigpy.config.CONF_OTA_IKEA: False,
zigpy.config.CONF_OTA_INOVELLI: False,
zigpy.config.CONF_OTA_LEDVANCE: False,
zigpy.config.CONF_OTA_SALUS: False,
zigpy.config.CONF_OTA_SONOFF: False,
zigpy.config.CONF_OTA_THIRDREALITY: False,
},
}
)