@thing-it/device-plant-probe
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "@thing-it/device-plant-probe", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "[thing-it-node] Device Plugin for Plant Probes.", | ||
@@ -5,0 +5,0 @@ "authors": "Marc Gille", |
@@ -107,3 +107,10 @@ module.exports = { | ||
this.state = state; | ||
const newState = Object.assign( | ||
{}, | ||
this.state, | ||
{ | ||
health: state.health, | ||
height: state.height, | ||
}); | ||
this.state = newState; | ||
@@ -110,0 +117,0 @@ if (!this.isSimulated()) { |
6156
148