mirror of
https://github.com/esphome/esphome.git
synced 2025-10-20 18:53:47 +01:00
19 lines
350 B
C++
19 lines
350 B
C++
#pragma once
|
|
|
|
#include "esphome/components/switch/switch.h"
|
|
#include "../hon_climate.h"
|
|
|
|
namespace esphome {
|
|
namespace haier {
|
|
|
|
class QuietModeSwitch : public switch_::Switch, public Parented<HonClimate> {
|
|
public:
|
|
QuietModeSwitch() = default;
|
|
|
|
protected:
|
|
void write_state(bool state) override;
|
|
};
|
|
|
|
} // namespace haier
|
|
} // namespace esphome
|