Fix Single Lock

This commit is contained in:
iranl
2024-03-07 20:59:03 +01:00
parent 1dfc85917e
commit b2c1944762
2 changed files with 3 additions and 3 deletions

View File

@@ -1260,9 +1260,9 @@ void Network::publishHASSConfigAdditionalButtons(char *deviceType, const char *b
"config",
String("~") + mqtt_topic_config_single_lock,
{ { "enabled_by_default", "false" },
{ "pl_on", "2" },
{ "pl_on", "0" },
{ "pl_off", "1" },
{ "state_on", "2" },
{ "state_on", "0" },
{ "state_off", "1" }});
}

View File

@@ -191,7 +191,7 @@ In a browser navigate to the IP address assigned to the ESP32.
- configuration/buttonEnabled: enable or disable the button on the lock (0 = disabled; 1 = enabled).
- configuration/ledBrightness: Set the brightness of the LED on the lock (0=min; 5=max).
- configuration/ledEnabled: enable or disable the LED on the lock (0 = disabled; 1 = enabled).
- configuration/singleLock: configures wether to single- or double-lock the door (1 = single; 2 = double).
- configuration/singleLock: configures wether to single- or double-lock the door (0 = double; 1 = single).
### Opener