From 4e74d52b21d503a5e7dc91c3460f2bcd1809ea33 Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Thu, 11 Apr 2024 14:10:04 +0200 Subject: [PATCH] . --- src/sml2mqtt/__version__.py | 2 +- src/sml2mqtt/mqtt/mqtt.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/sml2mqtt/__version__.py b/src/sml2mqtt/__version__.py index 832d649..a3175a4 100644 --- a/src/sml2mqtt/__version__.py +++ b/src/sml2mqtt/__version__.py @@ -1 +1 @@ -__version__ = '3.0.DEV-5' +__version__ = '3.0.DEV-6' diff --git a/src/sml2mqtt/mqtt/mqtt.py b/src/sml2mqtt/mqtt/mqtt.py index 40a7889..0d161ab 100644 --- a/src/sml2mqtt/mqtt/mqtt.py +++ b/src/sml2mqtt/mqtt/mqtt.py @@ -67,8 +67,7 @@ async def _mqtt_task() -> None: try: # since we just pass this into the mqtt wrapper we do not link it to the base topic - will_topic = BASE_TOPIC.create_child( - topic_fragment=config.mqtt.last_will.topic).set_config(config.mqtt.last_will) + will_topic = BASE_TOPIC.create_child(topic_fragment='status').set_config(config.mqtt.last_will) will = Will( topic=will_topic.topic, payload=payload_offline,