forked from platypush/platypush
Added name and value props to sensor component
This commit is contained in:
parent
43b01f7c0e
commit
54a3643605
1 changed files with 6 additions and 3 deletions
|
@ -5,9 +5,12 @@ Vue.component('sensor-metric', {
|
||||||
type: Object,
|
type: Object,
|
||||||
},
|
},
|
||||||
|
|
||||||
device: {
|
name: {
|
||||||
type: Object,
|
type: String,
|
||||||
default: () => {},
|
},
|
||||||
|
|
||||||
|
value: {
|
||||||
|
type: [String, Number, Object, Boolean, Array],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue