From 711d9d2a2811e85984278dc3326b70018f9358ff Mon Sep 17 00:00:00 2001 From: LKuemmel Date: Tue, 6 Jan 2026 10:41:31 +0100 Subject: [PATCH] remove io device: fix state deletion --- packages/helpermodules/command.py | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/helpermodules/command.py b/packages/helpermodules/command.py index 345d8bc8d0..2ba28753d3 100644 --- a/packages/helpermodules/command.py +++ b/packages/helpermodules/command.py @@ -240,6 +240,7 @@ def removeIoDevice(self, connection_id: str, payload: dict) -> None: """ if self.max_id_io_device >= payload["data"]["id"]: ProcessBrokerBranch(f'system/io/{payload["data"]["id"]}/').remove_topics() + ProcessBrokerBranch(f'io/states/{payload["data"]["id"]}/').remove_topics() pub_user_message(payload, connection_id, f'IO-Gerät mit ID \'{payload["data"]["id"]}\' gelöscht.', MessageType.SUCCESS) else: