I have tried to update Tradfri firmware using the ZHA integration, but I receive the same error mentioned here. https://github.com/home-assistant/core/issues/42261 It says to use beta firmwares, and that these supposedly have correct sizes, but I have verified that ZHA does indeed download the beta firmware, however, it still fails with a size mismatch, generating this warning entry in the log:
2020-11-11 11:26:08 WARNING (MainThread) [zigpy.ota.validators] Image OTAImageHeader(upgrade_file_id=200208670, header_version=256, header_length=56, field_control=<FieldControl.0: 0>, manufacturer_id=4476, image_type=16900, file_version=537040419, stack_version=2, header_string='GBL GBL_tradfri_sy5882_bulb_ws', image_size=208242) is invalid: Image size (208180) must be a multiple of 64 bytes
What am I doing wrong?