Changelog
We've introduced a new OTA config format. As with all config, nothing needs to be enabled by default to use OTA. This format is more versatile, supports more OTA provider types (`zigpy_local`), and will be more future-proof:
yaml
zha:
zigpy_config:
ota:
disable_default_providers: [ikea]
Replace all default providers by specifying `providers` instead of `extra_providers`
extra_providers:
- type: salus
- type: ikea DIRIGERA feed
- type: ikea Old IKEA feed
url: https://fw.ota.homesmart.ikea.net/feed/version_info.json
- type: zigpy
url: https://example.org/ota.json
manufacturer_ids: [0x1234, 0x5678] Optional
- type: z2m
- type: z2m Use multiple providers of the same type
url: https://some/other/index.json
- type: z2m_local
path: /path/to/index.json
- type: advanced
warning: I understand I can *destroy* my devices by enabling OTA updates from
files. Some OTA updates can be mistakenly applied to the wrong
device, breaking it. I am consciously using this at my own risk.
path: /path/to/folder/of/otas
What's Changed
* Allow freezing structs by puddly in https://github.com/zigpy/zigpy/pull/1426
* Enable ruff isort (and more) by puddly in https://github.com/zigpy/zigpy/pull/1427
* Enable ruff format by puddly in https://github.com/zigpy/zigpy/pull/1429
* Use an OTA provider configuration list instead of per-manufacturer keys by puddly in https://github.com/zigpy/zigpy/pull/1400
* Block updates for IKEA image types 8704 and 8710 by puddly in https://github.com/zigpy/zigpy/pull/1430
**Full Changelog**: https://github.com/zigpy/zigpy/compare/0.64.3...0.65.0