mirror of
https://github.com/esphome/esphome.git
synced 2025-10-31 23:21:54 +00:00
fixes
This commit is contained in:
@@ -258,6 +258,7 @@ void BedJetClimate::on_status(const BedjetStatusPacket *data) {
|
||||
case MODE_HEAT:
|
||||
this->mode = CLIMATE_MODE_HEAT;
|
||||
this->action = CLIMATE_ACTION_HEATING;
|
||||
this->preset.reset();
|
||||
if (this->heating_mode_ == HEAT_MODE_EXTENDED) {
|
||||
this->set_custom_preset_("LTD HT");
|
||||
} else {
|
||||
@@ -268,6 +269,7 @@ void BedJetClimate::on_status(const BedjetStatusPacket *data) {
|
||||
case MODE_EXTHT:
|
||||
this->mode = CLIMATE_MODE_HEAT;
|
||||
this->action = CLIMATE_ACTION_HEATING;
|
||||
this->preset.reset();
|
||||
if (this->heating_mode_ == HEAT_MODE_EXTENDED) {
|
||||
this->clear_custom_preset_();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user