entity save fix#3
This commit is contained in:
parent
9479b4194f
commit
0ef4a40375
@ -183,14 +183,14 @@ export class MapWidgetController implements MapWidgetInterface {
|
||||
}
|
||||
}
|
||||
});
|
||||
if (attributes.length) {
|
||||
if (timeseries.length) {
|
||||
attributeService.saveEntityTimeseries(
|
||||
entityId,
|
||||
LatestTelemetry.LATEST_TELEMETRY,
|
||||
timeseries
|
||||
).subscribe(() => { });
|
||||
}
|
||||
if (timeseries.length) {
|
||||
if (attributes.length) {
|
||||
attributeService.saveEntityAttributes(
|
||||
entityId,
|
||||
AttributeScope.SERVER_SCOPE,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user