Open thomluther opened 1 day ago
ota_children will be created as list with following information per child:
"children": [
{
"needUpdate": false,
"device_type": "A17C1_esp32",
"rom_version_name": "v0.1.5.1",
"force_upgrade": false,
},
Furthermore, since only children may need an update but only the parent device is compared and flagged for OTA updates, the children field needUpdate will be merged into the overall device ota_update field. The HA integration can use the children list in the attributes of the ota_update entity to present the whole children list if necessary.
The OTA batch response may contain children information for some devices. The key values should be added to the device details. example for SB2: