We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b322f0e commit 4c9930cCopy full SHA for 4c9930c
1 file changed
src/main.cpp
@@ -59,8 +59,8 @@ namespace espConfig
59
/* Flags */
60
bool lockEnableCustomState = MQTT_CUSTOM_STATE_ENABLED;
61
bool hassMqttDiscoveryEnabled = MQTT_DISCOVERY;
62
- std::map<const char *, int> 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}};
63
- std::map<const char *, int> customLockActions = {{"UNLOCK", UNLOCK}, {"LOCK", LOCK}};
+ std::map<std::string, int> 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<std::string, int> customLockActions = {{"UNLOCK", UNLOCK}, {"LOCK", LOCK}};
64
} mqttData;
65
66
struct misc_config_t
0 commit comments