Refactor official Nuki MQTT support. Move offical-specific code into sepereate class. (#470)
* move offical related members to seperate class * remove static references * add buildMqttPath and comparePrefixedPath methods to NukiOfficial * make offMqttPath private * fix references and syntax errors * move nuki official publish state update check to NukiNetworkLock * make _disableNonJSON private * make NukiOfficial members private * move _offCommand to NukiWrapper * make offCommandExecutedTs private * make offTopics privte * fix nuki publisher reference not set * use NukiPublisher in NukiNetworkOpener * fix build updater * fix pl_off and stat_off strings
This commit is contained in:
@@ -76,9 +76,10 @@ private:
|
||||
|
||||
String concat(String a, String b);
|
||||
|
||||
Preferences* _preferences;
|
||||
Preferences* _preferences = nullptr;
|
||||
|
||||
NukiNetwork* _network = nullptr;
|
||||
NukiPublisher* _nukiPublisher = nullptr;
|
||||
|
||||
std::map<uint32_t, String> _authEntries;
|
||||
char _mqttPath[181] = {0};
|
||||
|
||||
Reference in New Issue
Block a user