Tested against ESPHome 2026.2.0, 2026.2.4, 2026.3.2, all in the official ESPHome docker container.
In all cases, compiling for a target of generic-rtl8720cf-2mb-992k or generic-rtl8720cm-4mb-1712k results in an error after linking:
| |-- image_flash_is.0x000000.bin
|-- TypeError: Type of 'if_not=' (<class 'NoneType'>) different than the field type; while initializing 'ota_signature'
| |-- File "/root/.platformio/penv/.libretiny/lib/python3.12/site-packages/datastruct/utils/validation.py", line 199, in _validate_cond
Forcibly downgrading the ltchiptool to v4.13.0 in the .libretiny venv fixes the issue.
Tested against ESPHome 2026.2.0, 2026.2.4, 2026.3.2, all in the official ESPHome docker container.
In all cases, compiling for a target of generic-rtl8720cf-2mb-992k or generic-rtl8720cm-4mb-1712k results in an error after linking:
Forcibly downgrading the ltchiptool to v4.13.0 in the .libretiny venv fixes the issue.