mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 10:04:54 +00:00
Add productUuid and productType to action when device is present
This commit is contained in:
@ -411,6 +411,8 @@ export class SceneService {
|
|||||||
|
|
||||||
if (device) {
|
if (device) {
|
||||||
action.entityId = device.uuid;
|
action.entityId = device.uuid;
|
||||||
|
action.productUuid = device.productDevice.uuid;
|
||||||
|
action.productType = device.productDevice.prodType;
|
||||||
}
|
}
|
||||||
} else if (
|
} else if (
|
||||||
action.actionExecutor !== ActionExecutorEnum.DEVICE_ISSUE &&
|
action.actionExecutor !== ActionExecutorEnum.DEVICE_ISSUE &&
|
||||||
|
|||||||
Reference in New Issue
Block a user