diff --git a/platypush/backend/http/static/js/plugins/sensors/index.js b/platypush/backend/http/static/js/plugins/sensors/index.js index 87dc1d8996..14cb036d36 100644 --- a/platypush/backend/http/static/js/plugins/sensors/index.js +++ b/platypush/backend/http/static/js/plugins/sensors/index.js @@ -5,9 +5,12 @@ Vue.component('sensor-metric', { type: Object, }, - device: { - type: Object, - default: () => {}, + name: { + type: String, + }, + + value: { + type: [String, Number, Object, Boolean, Array], }, }, });