change heatingProfile topic

This commit is contained in:
robert 2021-12-20 23:10:18 +01:00
parent 249344158c
commit 3ee82d9717

View File

@ -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":