Small typo

This commit is contained in:
Meatballs1
2024-03-20 14:03:27 +00:00
parent 7c460ccf8c
commit 846b1abca0

View File

@@ -55,7 +55,7 @@ def hc2mqtt(
client.subscribe(mqtt_set_topic)
for value in device["features"]:
# If the device has the ActiveProgram feature it allows programs to be started
# andi scheduled via /ro/activeProgram
# and scheduled via /ro/activeProgram
if "BSH.Common.Root.ActiveProgram" == device["features"][value]["name"]:
mqtt_active_program_topic = f"{mqtt_prefix}{device['name']}/activeProgram"
print(now(), device["name"], f"program topic: {mqtt_active_program_topic}")