mirror of
https://github.com/esphome/esphome.git
synced 2025-01-31 18:20:53 +00:00
parent
9d7f76773d
commit
e207c6ad84
@ -59,7 +59,7 @@ void CTClampSensor::update() {
|
||||
}
|
||||
|
||||
void CTClampSensor::loop() {
|
||||
if (!this->is_sampling_ || !this->is_calibrating_offset_)
|
||||
if (!this->is_sampling_ && !this->is_calibrating_offset_)
|
||||
return;
|
||||
|
||||
// Perform a single sample
|
||||
|
Loading…
x
Reference in New Issue
Block a user