diff --git a/src/iotswarm/devices.py b/src/iotswarm/devices.py index dfd9e4e..0e2fe0d 100644 --- a/src/iotswarm/devices.py +++ b/src/iotswarm/devices.py @@ -156,7 +156,7 @@ def __init__( if mqtt_topic is not None: self.mqtt_topic = str(mqtt_topic) else: - self.mqtt_topic = f"{self.device_type}/{self.device_id}" + self.mqtt_topic = f"{self.device_id}" if mqtt_prefix is not None: self.mqtt_prefix = str(mqtt_prefix)