From 85d0afe9c2459efda455aadd32fac8272654da8e Mon Sep 17 00:00:00 2001 From: Troy Hopwood <31707141+troyhopwood@users.noreply.github.com> Date: Fri, 25 Oct 2019 09:30:23 -0700 Subject: [PATCH 1/2] Fixing Elevator The healthy elevator doesn't move. Moving is set to true in the JS, but not set in the JSON so false is winning. --- Services/data/devicemodels/elevator-01.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Services/data/devicemodels/elevator-01.json b/Services/data/devicemodels/elevator-01.json index 445dfa1e..54920750 100644 --- a/Services/data/devicemodels/elevator-01.json +++ b/Services/data/devicemodels/elevator-01.json @@ -12,7 +12,8 @@ "vibration": 10.0, "vibration_unit": "mm", "temperature": 75.0, - "temperature_unit": "F" + "temperature_unit": "F", + "moving": true }, "Interval": "00:00:10", "Scripts": [ @@ -59,4 +60,4 @@ "Path": "StartElevator-method.js" } } -} \ No newline at end of file +} From 0a016c5f4049edd819541ef1ce21a5f6c96c12ab Mon Sep 17 00:00:00 2001 From: Troy Hopwood <31707141+troyhopwood@users.noreply.github.com> Date: Fri, 25 Oct 2019 09:31:06 -0700 Subject: [PATCH 2/2] fixing spacing. --- Services/data/devicemodels/elevator-01.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/data/devicemodels/elevator-01.json b/Services/data/devicemodels/elevator-01.json index 54920750..912a0bf8 100644 --- a/Services/data/devicemodels/elevator-01.json +++ b/Services/data/devicemodels/elevator-01.json @@ -13,7 +13,7 @@ "vibration_unit": "mm", "temperature": 75.0, "temperature_unit": "F", - "moving": true + "moving": true }, "Interval": "00:00:10", "Scripts": [