dt-common-device 9.1.1 → 9.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -224,6 +224,9 @@ let LocalDeviceService = (() => {
|
|
|
224
224
|
await this.deviceRepository.setState(deviceId, newState);
|
|
225
225
|
return await this.eventHandler.onStateChange(deviceId, newState, auditProperties, eventType);
|
|
226
226
|
}
|
|
227
|
+
if (auditProperties.source === Service_1.Source.CLOUD_EVENT) {
|
|
228
|
+
return await this.eventHandler.onStateChange(deviceId, newState, auditProperties, eventType);
|
|
229
|
+
}
|
|
227
230
|
}
|
|
228
231
|
async getStatus(deviceId) {
|
|
229
232
|
if (!deviceId) {
|