mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-29 07:08:56 +00:00
Log device OTA request response. https://github.com/Koenkk/zigbee2mqtt/issues/16371
This commit is contained in:
@@ -122,6 +122,9 @@ export default class OTAUpdate extends Extension {
|
||||
if (endpoint) {
|
||||
// Some devices send OTA requests without defining OTA cluster as input cluster.
|
||||
await endpoint.commandResponse('genOta', 'queryNextImageResponse', {status: 0x98});
|
||||
logger.debug(`Responded to OTA request of '${data.device.name}' with 'NO_IMAGE_AVAILABLE'`);
|
||||
} else {
|
||||
logger.debug(`Did not respond to OTA request of '${data.device.name}' (no OTA endpoint)`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user