mirror of
https://github.com/geoffdavis/esphome-mitsubishiheatpump
synced 2024-08-30 18:12:13 +00:00
16 lines
315 B
C
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
|