mirror of
https://github.com/OMGeeky/homecontrol.esp-sensors.git
synced 2026-01-06 19:45:21 +01:00
comment out temperature and humidity topic publishing in MQTT handler
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user