Skip to content

Commit

Permalink
Fix 'ACL denying access to client with dangerous client id'
Browse files Browse the repository at this point in the history
  • Loading branch information
Dielee committed Sep 21, 2023
1 parent 781e1da commit cef28f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

def connect():
client = mqtt.Client("volvoAAOS2mqtt") if os.environ.get("IS_HA_ADDON") \
else mqtt.Client("volvoAAOS2mqtt_" + settings.volvoData["username"])
else mqtt.Client("volvoAAOS2mqtt_" + settings.volvoData["username"].replace("+", ""))

client.will_set(availability_topic, "offline", 0, False)
if settings["mqtt"]["username"] and settings["mqtt"]["password"]:
Expand Down

0 comments on commit cef28f7

Please sign in to comment.