mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-31 18:18:27 +02:00
@@ -59,7 +59,7 @@ void CTClampSensor::update() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CTClampSensor::loop() {
|
void CTClampSensor::loop() {
|
||||||
if (!this->is_sampling_ || !this->is_calibrating_offset_)
|
if (!this->is_sampling_ && !this->is_calibrating_offset_)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Perform a single sample
|
// Perform a single sample
|
||||||
|
|||||||
Reference in New Issue
Block a user