Add productUuid and productType to action when device is present

This commit is contained in:
faris Aljohari
2024-11-29 01:40:59 -06:00
parent b3f4507a70
commit 17b300183c

View File

@ -411,6 +411,8 @@ export class SceneService {
if (device) {
action.entityId = device.uuid;
action.productUuid = device.productDevice.uuid;
action.productType = device.productDevice.prodType;
}
} else if (
action.actionExecutor !== ActionExecutorEnum.DEVICE_ISSUE &&