Only log bg data update if debug==True

This commit is contained in:
Jarno Rankinen 2023-01-18 23:29:08 +02:00
parent 2a6877cb35
commit 843cda4b6d
1 changed files with 1 additions and 1 deletions

View File

@ -183,6 +183,6 @@ class PingvinKL():
self.run = True self.run = True
logging.info("Starting data monitor loop") logging.info("Starting data monitor loop")
while self.run: while self.run:
logging.info("Data monitor updating coil data") if debug: logging.info("Data monitor updating coil data")
self.coils.update(debug) self.coils.update(debug)
sleep(interval) sleep(interval)