diff --git a/index.js b/index.js index 58ded47..f429e00 100644 --- a/index.js +++ b/index.js @@ -142,7 +142,7 @@ const performUnitConversions = (data) => { const createDelta = (data) => ({ updates: [ { - 'source': 'ruuvitag.' + data.name, + '$source': 'ruuvitag.' + data.name, values: [ { path: `environment.${data.location}.humidity`,