aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2023-04-03 12:25:01 +0200
committerDennis Eriksen <d@ennis.no>2023-04-03 12:25:01 +0200
commitf897967033246bf85e63bb00197d87d2ab16066f (patch)
tree55607b146ec003b53a50e510e5d43a483f5338f9
parentadding function to insert state without defining sql (diff)
downloadenergyscripts-f897967033246bf85e63bb00197d87d2ab16066f.tar.gz
forgot to change loglevel
-rw-r--r--scripts/esphomeapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/esphomeapi.py b/scripts/esphomeapi.py
index 8c79282..3fb1a47 100644
--- a/scripts/esphomeapi.py
+++ b/scripts/esphomeapi.py
@@ -127,7 +127,7 @@ if __name__ == "__main__":
#log.addHandler(handler)
log = logging.getLogger(__name__)
- log.setLevel(logging.INFO)
+ log.setLevel(logging.WARNING)
logging.basicConfig(format="%(levelname)s - %(message)s {%(filename)s:%(lineno)d}")
parser = argparse.ArgumentParser(description="Connect to an esphome-device and access the native api")