spaceapidata.MergeInSensor(spaceapi.MakeDoorLockSensor("TorwaechterLock", "Türschloß", match_status[1] == "closed"))
spaceapidata.MergeInSensor(spaceapi.MakeDoorLockSensor("TorwaechterAjarSensor", "Türkontakt", match_status[3] == "shut"))
//spaceapidata.MergeInSensor(spaceapi.MakeDoorAjarSensor("Torwaechter", "Front Door", match_presence[3] == "shut"))
+ publishStateToWeb()
} else if match_button != nil {
statusstate.buttonpress_until = time.Now().Unix() + 3600
spaceapidata.AddSpaceEvent("PanicButton", "check-in", "The button has been pressed")