CommonClient: fix 0.4.2 EnergyLink datastore key

This commit is contained in:
Fabian Dill 2023-07-25 23:38:08 +02:00 committed by Fabian Dill
parent 0d28eeb3c5
commit b684ba4822
1 changed files with 1 additions and 1 deletions

View File

@ -833,7 +833,7 @@ async def process_server_cmd(ctx: CommonContext, args: dict):
elif cmd == "SetReply":
ctx.stored_data[args["key"]] = args["value"]
if args["key"] == "EnergyLink":
if args["key"].startswith("EnergyLink"):
ctx.current_energy_link_value = args["value"]
if ctx.ui:
ctx.ui.set_new_energy_link_value()