Skip to content

Commit 1732560

Browse files
authored
remove io device: fix state deletion (#3079)
1 parent 86a3906 commit 1732560

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/helpermodules/command.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ def removeIoDevice(self, connection_id: str, payload: dict) -> None:
240240
"""
241241
if self.max_id_io_device >= payload["data"]["id"]:
242242
ProcessBrokerBranch(f'system/io/{payload["data"]["id"]}/').remove_topics()
243+
ProcessBrokerBranch(f'io/states/{payload["data"]["id"]}/').remove_topics()
243244
pub_user_message(payload, connection_id, f'IO-Gerät mit ID \'{payload["data"]["id"]}\' gelöscht.',
244245
MessageType.SUCCESS)
245246
else:

0 commit comments

Comments
 (0)