fixed topic

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-13 00:10:32 +01:00
parent 8816c5f8e5
commit 4caaec1fc8
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ def mqtt_publisher(universe):
if dmx_values is not None: if dmx_values is not None:
for channel, value in enumerate(dmx_values): for channel, value in enumerate(dmx_values):
# Create MQTT topic based on the universe and channel # Create MQTT topic based on the universe and channel
topic = f"/{universe}/{channel}" topic = f"{universe}/{channel}"
# Publish the DMX value to the MQTT topic # Publish the DMX value to the MQTT topic
mqtt_client.publish(topic, value) mqtt_client.publish(topic, value)