Removed unnecessary code
This commit is contained in:
parent
8b1a9351f3
commit
ef9c432aec
@ -140,12 +140,6 @@ public class EntityViewController extends BaseController {
|
||||
} catch (ThingsboardException e) {
|
||||
log.error("Failed to log attribute updates", e);
|
||||
}
|
||||
if (entityId.getEntityType() == EntityType.ENTITY_VIEW) {
|
||||
DeviceId deviceId = new DeviceId(entityId.getId());
|
||||
DeviceAttributesEventNotificationMsg notificationMsg = DeviceAttributesEventNotificationMsg.onUpdate(
|
||||
user.getTenantId(), deviceId, scope, attributes);
|
||||
actorService.onMsg(new SendToClusterMsg(deviceId, notificationMsg));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user