Update esphome/components/bh1750/bh1750.cpp

This commit is contained in:
J. Nick Koston
2025-11-17 08:48:13 -06:00
committed by GitHub
parent 78a69cb744
commit a6f416a09e
+1 -1
View File
@@ -131,7 +131,7 @@ void BH1750Sensor::loop() {
this->process_coarse_result_(lx);
// Start fine measurement with optimal settings
if (!this->start_measurement_(this->fine_mode_, this->fine_mtreg_, now)) {
if (!this->start_measurement_(this->fine_mode_, this->fine_mtreg_, millis())) {
this->fail_and_reset_();
break;
}