esphome-mitsubishiheatpump/components/mitsubishi_heatpump/mitsubishi_ac_select.h

16 lines
315 B
C
Raw Normal View History

#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