debugging
This commit is contained in:
parent
b0a5903c6e
commit
d1bb240080
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ class Mhz19Co2:
|
||||||
|
|
||||||
def read(self) -> int | None:
|
def read(self) -> int | None:
|
||||||
data = mh_z19.read()
|
data = mh_z19.read()
|
||||||
logging.debug(str(data))
|
logging.debug(data["co2"])
|
||||||
|
|
||||||
if not data:
|
if not data:
|
||||||
return None
|
return None
|
||||||
|
|
|
@ -16,7 +16,7 @@ from config import climate_log_file
|
||||||
from handler.action_queue import ActionQueue
|
from handler.action_queue import ActionQueue
|
||||||
from handler.history import get_recent_entries
|
from handler.history import get_recent_entries
|
||||||
|
|
||||||
logging.getLogger().setLevel(logging.DEBUG)
|
logging.getLogger().setLevel(logging.INFO)
|
||||||
|
|
||||||
|
|
||||||
# Start services
|
# Start services
|
||||||
|
|
Loading…
Reference in a new issue