From 239fef1220f0cb5eac37bf08413e5f43cd15d067 Mon Sep 17 00:00:00 2001 From: OMGeeky Date: Sat, 7 Jun 2025 10:52:59 +0200 Subject: [PATCH] comment out temperature and humidity topic publishing in MQTT handler --- src/esp_sensors/mqtt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/esp_sensors/mqtt.py b/src/esp_sensors/mqtt.py index 7735d8a..0a01161 100644 --- a/src/esp_sensors/mqtt.py +++ b/src/esp_sensors/mqtt.py @@ -678,8 +678,8 @@ def publish_sensor_data( data_payload = json.dumps(data).encode() # Both client types have compatible publish methods - client.publish(temp_topic, temp_payload) - client.publish(humidity_topic, humidity_payload) + # client.publish(temp_topic, temp_payload) + # client.publish(humidity_topic, humidity_payload) client.publish(data_topic, data_payload) print(