mirror of
https://github.com/esphome/esphome.git
synced 2025-11-17 07:15:48 +00:00
Fix braceless else statements (#7799)
This commit is contained in:
@@ -37,8 +37,9 @@ void ClimateIR::setup() {
|
||||
this->publish_state();
|
||||
});
|
||||
this->current_temperature = this->sensor_->state;
|
||||
} else
|
||||
} else {
|
||||
this->current_temperature = NAN;
|
||||
}
|
||||
// restore set points
|
||||
auto restore = this->restore_state_();
|
||||
if (restore.has_value()) {
|
||||
|
||||
Reference in New Issue
Block a user