mirror of
https://github.com/esphome/esphome.git
synced 2025-09-12 16:22:22 +01:00
19 lines
351 B
C++
19 lines
351 B
C++
#pragma once
|
|
|
|
#include "esphome/components/switch/switch.h"
|
|
#include "../haier_base.h"
|
|
|
|
namespace esphome {
|
|
namespace haier {
|
|
|
|
class DisplaySwitch : public switch_::Switch, public Parented<HaierClimateBase> {
|
|
public:
|
|
DisplaySwitch() = default;
|
|
|
|
protected:
|
|
void write_state(bool state) override;
|
|
};
|
|
|
|
} // namespace haier
|
|
} // namespace esphome
|