mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
fix climate-ir bad merge (#935)
* fix climate-ir bad merge * add mitshubishi test
This commit is contained in:
parent
828e291538
commit
420c860424
3 changed files with 2 additions and 5 deletions
|
@ -116,7 +116,6 @@ void ClimateIR::dump_config() {
|
||||||
ESP_LOGCONFIG(TAG, " Supports HEAT: %s", YESNO(this->supports_heat_));
|
ESP_LOGCONFIG(TAG, " Supports HEAT: %s", YESNO(this->supports_heat_));
|
||||||
ESP_LOGCONFIG(TAG, " Supports COOL: %s", YESNO(this->supports_cool_));
|
ESP_LOGCONFIG(TAG, " Supports COOL: %s", YESNO(this->supports_cool_));
|
||||||
}
|
}
|
||||||
bool ClimateIR::on_receive(remote_base::RemoteReceiveData data) { return false; }
|
|
||||||
|
|
||||||
} // namespace climate_ir
|
} // namespace climate_ir
|
||||||
} // namespace esphome
|
} // namespace esphome
|
||||||
|
|
|
@ -63,9 +63,6 @@ class ClimateIR : public climate::Climate, public Component, public remote_base:
|
||||||
|
|
||||||
remote_transmitter::RemoteTransmitterComponent *transmitter_;
|
remote_transmitter::RemoteTransmitterComponent *transmitter_;
|
||||||
sensor::Sensor *sensor_{nullptr};
|
sensor::Sensor *sensor_{nullptr};
|
||||||
|
|
||||||
/// Handle received IR Buffer, so it is optional to implement
|
|
||||||
bool on_receive(remote_base::RemoteReceiveData data) override;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace climate_ir
|
} // namespace climate_ir
|
||||||
|
|
|
@ -1192,7 +1192,8 @@ climate:
|
||||||
name: Fujitsu General Climate
|
name: Fujitsu General Climate
|
||||||
- platform: yashima
|
- platform: yashima
|
||||||
name: Yashima Climate
|
name: Yashima Climate
|
||||||
|
- platform: mitsubishi
|
||||||
|
name: Mitsubishi
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
|
|
Loading…
Reference in a new issue