Remove retained MQTT messages when changing HASS config

This commit is contained in:
rodriguezst
2022-06-21 22:19:19 +00:00
committed by GitHub
parent 5d254d463b
commit 1b0402cfe7
9 changed files with 82 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ public:
void publishAdvancedConfig(const NukiLock::AdvancedConfig& config);
void publishPresenceDetection(char* csv);
void publishHASSConfig(char* deviceType, const char* baseTopic, char* name, char* uidString, char* lockAction, char* unlockAction, char* openAction, char* lockedState, char* unlockedState);
void removeHASSConfig(char* uidString);
void setLockActionReceivedCallback(bool (*lockActionReceivedCallback)(const char* value));
void setConfigUpdateReceivedCallback(void (*configUpdateReceivedCallback)(const char* path, const char* value));