added default location trigger mode value
This commit is contained in:
parent
d122b3e329
commit
7e712a5fc4
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ public class TriggerLocation extends Trigger {
|
||||||
longitude.setValue(JsonHelper.safeGetDouble(d, "longitude"));
|
longitude.setValue(JsonHelper.safeGetDouble(d, "longitude"));
|
||||||
distance.setValue(JsonHelper.safeGetDouble(d, "distance"));
|
distance.setValue(JsonHelper.safeGetDouble(d, "distance"));
|
||||||
name.setValue(JsonHelper.safeGetString(d, "name"));
|
name.setValue(JsonHelper.safeGetString(d, "name"));
|
||||||
mode.setValue(JsonHelper.safeGetString(d, "mode"));
|
mode.setValue(JsonHelper.safeGetString(d, "mode", modeEntered));
|
||||||
lastRun = JsonHelper.safeGetLong(d, "lastRun");
|
lastRun = JsonHelper.safeGetLong(d, "lastRun");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
Loading…
Reference in a new issue