From 070006e412679a45807bcac989ff5b9dff369699 Mon Sep 17 00:00:00 2001 From: jziolkowski Date: Sun, 15 Sep 2024 17:28:00 +0200 Subject: [PATCH] fix discovery parameter --- tdmgr/util/discovery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdmgr/util/discovery.py b/tdmgr/util/discovery.py index e5a192e..d6a9cba 100644 --- a/tdmgr/util/discovery.py +++ b/tdmgr/util/discovery.py @@ -18,7 +18,7 @@ def lwt_discovery_stage2(env: TasmotaEnvironment, message: Message): if match := message.match_fulltopic(full_topic): _match_topic = match.groupdict()["topic"] - if d := env.find_device(topic=_match_topic): + if d := env.find_device(message): d.update_property("FullTopic", full_topic) else: