This commit is contained in:
unknown 2024-08-16 20:11:10 -07:00
parent d38fa0059e
commit fd323ece35

View file

@ -166,9 +166,9 @@ void CSE7766Component::parse_data_() {
calculated_current = power / voltage; calculated_current = power / voltage;
} }
// Datasheet: minimum measured current is 50mA // Datasheet: minimum measured current is 50mA
if (calculated_current > 0.05f) { //if (calculated_current > 0.05f) {
current = current_coeff / float(current_cycle); current = current_coeff / float(current_cycle);
} //}
if (this->current_sensor_ != nullptr) { if (this->current_sensor_ != nullptr) {
this->current_sensor_->publish_state(current); this->current_sensor_->publish_state(current);
} }