From b684ba4822adab8888aaccd969f1f6ab10d02ec3 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Tue, 25 Jul 2023 23:38:08 +0200 Subject: [PATCH] CommonClient: fix 0.4.2 EnergyLink datastore key --- CommonClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommonClient.py b/CommonClient.py index 0c48068d..61fad658 100644 --- a/CommonClient.py +++ b/CommonClient.py @@ -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()