diff --git a/src/handler/mhz19_co2.py b/src/handler/mhz19_co2.py index 79aa9a1..4c3acdb 100644 --- a/src/handler/mhz19_co2.py +++ b/src/handler/mhz19_co2.py @@ -14,7 +14,7 @@ class Mhz19Co2: def read(self) -> int | None: data = mh_z19.read() - logging.debug(str(data)) + logging.debug(data["co2"]) if not data: return None diff --git a/src/main.py b/src/main.py index d068a9f..22c69d3 100644 --- a/src/main.py +++ b/src/main.py @@ -16,7 +16,7 @@ from config import climate_log_file from handler.action_queue import ActionQueue from handler.history import get_recent_entries -logging.getLogger().setLevel(logging.DEBUG) +logging.getLogger().setLevel(logging.INFO) # Start services