You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
628 B
36 lines
628 B
#include "esphome/core/log.h"
|
|
#include "empty_cover.h"
|
|
|
|
namespace esphome {
|
|
namespace empty_cover {
|
|
|
|
static const char *TAG = "empty_cover.cover";
|
|
|
|
void EmptyCover::setup() {
|
|
|
|
}
|
|
|
|
void EmptyCover::loop() {
|
|
|
|
}
|
|
|
|
void EmptyCover::dump_config() {
|
|
ESP_LOGCONFIG(TAG, "Empty cover");
|
|
}
|
|
|
|
cover::CoverTraits EmptyCover::get_traits() {
|
|
auto traits = cover::CoverTraits();
|
|
traits.set_is_assumed_state(false);
|
|
traits.set_supports_position(false);
|
|
traits.set_supports_tilt(false);
|
|
|
|
return traits;
|
|
}
|
|
|
|
void EmptyCover::control(const cover::CoverCall &call) {
|
|
|
|
}
|
|
|
|
} // namespace empty_cover
|
|
} // namespace esphome
|