Skip to content

Commit

Permalink
fix discovery parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jziolkowski committed Sep 15, 2024
1 parent 7e3af07 commit 070006e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdmgr/util/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 070006e

Please sign in to comment.