mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 08:55:22 +01:00
parent
9d7f76773d
commit
e207c6ad84
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue