fix climate-ir bad merge (#935)

* fix climate-ir bad merge

* add mitshubishi test
This commit is contained in:
Guillermo Ruffino 2019-12-31 00:20:11 -03:00 committed by GitHub
parent 828e291538
commit 420c860424
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 5 deletions

View file

@ -116,7 +116,6 @@ void ClimateIR::dump_config() {
ESP_LOGCONFIG(TAG, " Supports HEAT: %s", YESNO(this->supports_heat_));
ESP_LOGCONFIG(TAG, " Supports COOL: %s", YESNO(this->supports_cool_));
}
bool ClimateIR::on_receive(remote_base::RemoteReceiveData data) { return false; }
} // namespace climate_ir
} // namespace esphome

View file

@ -63,9 +63,6 @@ class ClimateIR : public climate::Climate, public Component, public remote_base:
remote_transmitter::RemoteTransmitterComponent *transmitter_;
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

View file

@ -1192,7 +1192,8 @@ climate:
name: Fujitsu General Climate
- platform: yashima
name: Yashima Climate
- platform: mitsubishi
name: Mitsubishi
switch:
- platform: gpio