esphome-mitsubishiheatpump/components/mitsubishi_heatpump/mitsubishi_ac_select.h
Nathan J. Williams 53c3d88e55 Modified patch for vane support.
Starting from https://github.com/geoffdavis/esphome-mitsubishiheatpump/pull/103 by @seime,
extract the vane implementation code and format according to existing style.
Leave behind all the reformatting.
2023-09-04 21:28:01 -04:00

16 lines
315 B
C++

#pragma once
#include "esphome/components/select/select.h"
#include "esphome/core/component.h"
namespace esphome {
class MitsubishiACSelect : public select::Select, public Component {
protected:
void control(const std::string &value) override {
this->publish_state(value);
}
};
} // namespace esphome