diff --git a/src/main.cpp b/src/main.cpp index 20056fa..9934bd3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -59,8 +59,8 @@ namespace espConfig /* Flags */ bool lockEnableCustomState = MQTT_CUSTOM_STATE_ENABLED; bool hassMqttDiscoveryEnabled = MQTT_DISCOVERY; - std::map customLockStates = {{"C_LOCKED", C_LOCKED}, {"C_UNLOCKING", C_UNLOCKING}, {"C_UNLOCKED", C_UNLOCKED}, {"C_LOCKING", C_LOCKING}, {"C_JAMMED", C_JAMMED}, {"C_UNKNOWN", C_UNKNOWN}}; - std::map customLockActions = {{"UNLOCK", UNLOCK}, {"LOCK", LOCK}}; + std::map customLockStates = {{"C_LOCKED", C_LOCKED}, {"C_UNLOCKING", C_UNLOCKING}, {"C_UNLOCKED", C_UNLOCKED}, {"C_LOCKING", C_LOCKING}, {"C_JAMMED", C_JAMMED}, {"C_UNKNOWN", C_UNKNOWN}}; + std::map customLockActions = {{"UNLOCK", UNLOCK}, {"LOCK", LOCK}}; } mqttData; struct misc_config_t