From c32b6fd4c460e5ecb762078300a756373859f37a Mon Sep 17 00:00:00 2001 From: LKuemmel Date: Wed, 15 Jul 2026 10:02:13 +0200 Subject: [PATCH] fix home consumption source --- packages/helpermodules/subdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/helpermodules/subdata.py b/packages/helpermodules/subdata.py index 1fd07478b8..4c59046940 100644 --- a/packages/helpermodules/subdata.py +++ b/packages/helpermodules/subdata.py @@ -869,7 +869,7 @@ def get_device_id_by_component_id(id: int) -> Optional[int]: elif re.search("/counter/[0-9]+/config/", msg.topic) is not None: self.set_json_payload_class(var["counter"+index].data.config, msg) elif re.search("/counter/", msg.topic) is not None: - if re.search("/config$", msg.topic) is not None: + if re.search("/config/", msg.topic) is not None: self.set_json_payload_class(self.counter_all_data.data.config, msg) elif re.search("/counter/get", msg.topic) is not None: self.set_json_payload_class(self.counter_all_data.data.get, msg)