diff --git a/platypush/backend/http/static/js/plugins/sensors/index.js b/platypush/backend/http/static/js/plugins/sensors/index.js index 87dc1d899..14cb036d3 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], }, }, });