Skip to content

Commit ef8a186

Browse files
committed
Fix set_status_error deprecation
1 parent 182e97b commit ef8a186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esphome/components/MhiAcCtrl/mhi_ac_ctrl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ class MhiAcCtrl : public climate::Climate,
249249
mhi_ac::InitError err = mhi_ac::init(this->ac_config_);
250250
switch(err) {
251251
case mhi_ac::InitError::CSLoopbackFail:
252-
this->status_set_error("CS loopback check failed. Are cs_in_pin and cs_out_pin connected with each other?");
252+
this->status_set_error(LOG_STR("CS loopback check failed. Are cs_in_pin and cs_out_pin connected with each other?"));
253253
return;
254254
}
255255

0 commit comments

Comments
 (0)