Commit ef9c432aec49205c9a403801f688859864c38f9a

Authored by Volodymyr Babak
1 parent 8b1a9351

Removed unnecessary code

... ... @@ -140,12 +140,6 @@ public class EntityViewController extends BaseController {
140 140 } catch (ThingsboardException e) {
141 141 log.error("Failed to log attribute updates", e);
142 142 }
143   - if (entityId.getEntityType() == EntityType.ENTITY_VIEW) {
144   - DeviceId deviceId = new DeviceId(entityId.getId());
145   - DeviceAttributesEventNotificationMsg notificationMsg = DeviceAttributesEventNotificationMsg.onUpdate(
146   - user.getTenantId(), deviceId, scope, attributes);
147   - actorService.onMsg(new SendToClusterMsg(deviceId, notificationMsg));
148   - }
149 143 }
150 144
151 145 @Override
... ...