Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemanspiff2007 committed Apr 11, 2024
1 parent 96c7d4e commit 4e74d52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sml2mqtt/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '3.0.DEV-5'
__version__ = '3.0.DEV-6'
3 changes: 1 addition & 2 deletions src/sml2mqtt/mqtt/mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4e74d52

Please sign in to comment.