mirror of
https://github.com/arendst/Tasmota.git
synced 2026-09-11 09:13:17 +00:00
Matter: fix autoconfiguration after configuration reset (#24997)
This commit is contained in:
@@ -553,13 +553,17 @@ class Matter_Device
|
||||
self.ipv4only = bool(j.find("ipv4only", false))
|
||||
self.disable_bridge_mode = bool(j.find("disable_bridge_mode", false))
|
||||
self.next_ep = j.find("nextep", self.next_ep)
|
||||
self.plugins_config = j.find("config", {})
|
||||
self.debug = bool(j.find("debug")) # bool converts nil to false
|
||||
self.plugins_config = j.find("config", nil)
|
||||
self.debug = bool(j.find("debug"))
|
||||
|
||||
if self.plugins_config != nil
|
||||
log(f"MTR: Load_config = {self.plugins_config}", 3)
|
||||
self.adjust_next_ep()
|
||||
dirty = self.check_config_ep()
|
||||
self.plugins_persist = true
|
||||
else
|
||||
self.plugins_config = {}
|
||||
self.plugins_persist = false
|
||||
end
|
||||
self.plugins_config_remotes = j.find("remotes", {})
|
||||
if self.plugins_config_remotes
|
||||
|
||||
Reference in New Issue
Block a user