Better Status
This commit is contained in:
parent
752cdf3194
commit
a7a897e66b
1 changed files with 3 additions and 3 deletions
|
@ -52,21 +52,21 @@ void commandDisableDoor() {
|
|||
// Add code to get door state
|
||||
settings.setDisableDoor(1);
|
||||
unlockDoor(1);
|
||||
Serial.println("DOOR_DISABLED_STATUS=" + String(settings.DoorDisabled()));
|
||||
Serial.println("DOOR_DISABLED_STATUS=" + String(settings.DoorDisabled() ? "Disabled" : "Enabled"));
|
||||
}
|
||||
|
||||
void commandEnableDoor() {
|
||||
// Add code to get door state
|
||||
settings.setDisableDoor(0);
|
||||
lockDoor();
|
||||
Serial.println("DOOR_DISABLED_STATUS=" + String(settings.DoorDisabled()));
|
||||
Serial.println("DOOR_DISABLED_STATUS=" + String(settings.DoorDisabled() ? "Disabled" : "Enabled"));
|
||||
}
|
||||
|
||||
void commandDisabledState() {
|
||||
// Add code to get door state
|
||||
settings.setDisableDoor(0);
|
||||
unlockDoor(true);
|
||||
Serial.println("DOOR_DISABLED_STATUS=" + String(settings.DoorDisabled()));
|
||||
Serial.println("DOOR_DISABLED_STATUS=" + String(settings.DoorDisabled() ? "Disabled" : "Enabled"));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue