Add files via upload

This commit is contained in:
iranl
2024-02-04 14:36:30 +01:00
committed by GitHub
parent 3393111032
commit e9aed30a33

View File

@@ -957,7 +957,8 @@ void Network::publishHASSConfig(char* deviceType, const char* baseTopic, char* n
"",
"",
mqtt_topic_lock_action,
{ { "pl_prs", "lockNgo" }});
{ { "enabled_by_default", "true" },
{ "pl_prs", "lockNgo" }});
// Lock 'n' Go with unlatch
publishHassTopic("button",
@@ -973,7 +974,8 @@ void Network::publishHASSConfig(char* deviceType, const char* baseTopic, char* n
"",
"",
mqtt_topic_lock_action,
{ { "pl_prs", "lockNgoUnlatch" }});
{ { "enabled_by_default", "true" },
{ "pl_prs", "lockNgoUnlatch" }});
// Unlatch
publishHassTopic("button",
@@ -989,7 +991,8 @@ void Network::publishHASSConfig(char* deviceType, const char* baseTopic, char* n
"",
"",
mqtt_topic_lock_action,
{ { "pl_prs", "unlatch" }});
{ { "enabled_by_default", "true" },
{ "pl_prs", "unlatch" }});
}
}