From 18ed759c6c118ce1ce988ac70f1b71b856906944 Mon Sep 17 00:00:00 2001 From: dnutiu Date: Wed, 7 Feb 2024 21:11:25 +0200 Subject: [PATCH] fix missing requirements & imports --- app/sensors/bme.py | 1 + requirements.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/sensors/bme.py b/app/sensors/bme.py index 715a2ed..f21a73b 100644 --- a/app/sensors/bme.py +++ b/app/sensors/bme.py @@ -5,6 +5,7 @@ import sys from prometheus_client import Gauge from pyhap.accessory import Accessory from pyhap.const import CATEGORY_SENSOR +import bme680 from app.config import Settings diff --git a/requirements.txt b/requirements.txt index 4860a7e..ba3f864 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,5 @@ bme680==1.1.1 HAP-python==4.4.0 prometheus-client== 0.19.0 PyYAML==6.0.1 -pydantic~=2.6.1 \ No newline at end of file +pydantic~=2.6.1 +pydantic-settings==2.1.0 \ No newline at end of file