diff --git a/platypush/backend/http/webapp/src/components/panels/Entities/Sensor.vue b/platypush/backend/http/webapp/src/components/panels/Entities/Sensor.vue index c4861af61..cec9a4de2 100644 --- a/platypush/backend/http/webapp/src/components/panels/Entities/Sensor.vue +++ b/platypush/backend/http/webapp/src/components/panels/Entities/Sensor.vue @@ -13,8 +13,8 @@
- + v-if="computedValue != null"> +
@@ -30,6 +30,14 @@ export default { name: 'Sensor', components: {EntityIcon}, mixins: [EntityMixin], + + computed: { + computedValue() { + if (this.value.value != null) + return this.value.value + return this.value._value + }, + }, }