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.

22 lines
363 B

#include "esphome/core/log.h"
#include "empty_switch.h"
namespace esphome {
namespace empty_switch {
static const char *TAG = "empty_switch.switch";
void EmptySwitch::setup() {
}
void EmptySwitch::write_state(bool state) {
}
void EmptySwitch::dump_config(){
ESP_LOGCONFIG(TAG, "Empty custom switch");
}
} //namespace empty_switch
} //namespace esphome