From 0eeea7390edaf936457834a25eaf8d64e5d1c901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A2n=20Nguy=E1=BB=85n=20Duy?= Date: Mon, 30 Jun 2025 09:38:16 +0000 Subject: [PATCH] Update funtion def read_and_publish_cwt_co2 to only read CO2 value --- sensor_bridge.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sensor_bridge.py b/sensor_bridge.py index f819c2e..b49c07b 100644 --- a/sensor_bridge.py +++ b/sensor_bridge.py @@ -143,8 +143,6 @@ def read_and_publish_cwt_co2(mqtt_client, modbus_client, host_info): topics_data = [ (f"{base_topic}/Time", current_time), (f"{base_topic}/Status", "online"), - (f"{base_topic}/Temperature/temperature", round(temperature, 1)), - (f"{base_topic}/Humidity/humidity", round(humidity, 1)), (f"{base_topic}/CO2/CO2", co2_ppm), ]