Skip to content

Commit 4601e34

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 2a52945 commit 4601e34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esphome/components/pzemac/pzemac.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void PZEMAC::on_modbus_data(const std::vector<uint8_t> &data) {
5656
if (voltage < 450) {
5757
this->voltage_sensor_->publish_state(voltage);
5858
} /* else {
59-
this->voltage_sensor_->publish_state(220.0f);
59+
this->voltage_sensor_->publish_state(220.0f);
6060
} */
6161
}
6262
if (this->current_sensor_ != nullptr) {

0 commit comments

Comments
 (0)