removed tsl2561 == 0 => too bright

This commit is contained in:
Patrick Haßel 2025-02-13 23:25:36 +01:00
parent a2cf20a189
commit 7041a35090

View File

@ -22,8 +22,6 @@ void sensorRead() {
if (!tsl.getEvent(&event)) {
MySerial.printf("TSL2561: Failed to read.\n");
sensorSetup();
} else if (event.light == 0) {
MySerial.printf("TSL2561: Too bright.\n");
} else {
mqttPublish("garten/helligkeit", event.light, "lux");
}