} else if (sentMode == "away") {
this.mode = "away"
this.locationMode = "away"
- } else {
+ } else if (sentMode == "night") {
this.mode = "night"
this.locationMode = "night"
+ } else {
+ this.mode = sentMode
+ this.locationMode = sentMode
}
sendEvent(eventDataMap)
}