diff --git a/lib/session.js b/lib/session.js index 3545217..b96a5ed 100644 --- a/lib/session.js +++ b/lib/session.js @@ -1222,7 +1222,7 @@ function rpcRequest(sessionContext, _declarations, callback) { // Update tags for (const [p, v] of sessionContext.syncState.tags) { const c = sessionContext.deviceData.attributes.get(p); - if (v && c) { + if (v && !c) { toClear = device.set( sessionContext.deviceData, p,