diff --git a/readHomematicIP.py b/readHomematicIP.py index 3a947ce..3584a74 100755 --- a/readHomematicIP.py +++ b/readHomematicIP.py @@ -55,7 +55,7 @@ def heating_profile(group): if profile.name != "": client.publish(topic + "/availability", "ON") client.publish(topic + "/activeProfile", group.activeProfile.name) - client.publish(topic + "/" + profile.index, profile.name) + client.publish(topic + "/heatingProfiles/" + profile.index, profile.name) print(profile.index + ": " + profile.name) if profile.name == "Home Office":