diff --git a/matter_server/server/device_controller.py b/matter_server/server/device_controller.py index e0e85515..bd8b4cb1 100644 --- a/matter_server/server/device_controller.py +++ b/matter_server/server/device_controller.py @@ -1168,7 +1168,7 @@ def _on_mdns_service_state_change( return if service_type == MDNS_TYPE_OPERATIONAL_NODE: name = name.lower() - if not name.startswith(self.fabric_id_hex): + if self.fabric_id_hex not in name: # filter out messages that are not for our fabric return LOGGER.debug("Received %s MDNS event for %s", state_change, name)