From 3e737ec11ede348691d0a82036bd16136f40901c Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Sat, 12 Sep 2026 17:18:41 -0400 Subject: [PATCH] [Issue #4] - Adding support for sht4x sensors, configurable via the SENSOR_TYPE parameter --- config.example.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.example.py b/config.example.py index 47580f5..eb7a548 100644 --- a/config.example.py +++ b/config.example.py @@ -12,3 +12,6 @@ MQTT_PASS = "mqtt_password" # MQTT password (leave blank for no login) NODE_NAME = "Room Weather" # Name that's displayed on HA Device Card NODE_ID = "room_env" # Unique slug for entity_id and MQTT topic path CLIENT_ID = f"pico2w_{NODE_ID}" # Unique client ID used by the MQTT broker + +# Sensor selection: "bme280" or "sht41" +SENSOR_TYPE = "bme280"