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.
30 lines
624 B
30 lines
624 B
#include "esphome.h"
|
|
#include "empty_custom_light.h"
|
|
|
|
namespace esphome {
|
|
namespace empty_custom_light {
|
|
|
|
void EmptyCustomLightOutput::setup() {
|
|
|
|
}
|
|
|
|
light::LightTraits EmptyCustomLightOutput::get_traits() {
|
|
auto traits = light::LightTraits();
|
|
traits.set_supports_brightness(true);
|
|
traits.set_supports_rgb(false);
|
|
traits.set_supports_rgb_white_value(false);
|
|
traits.set_supports_color_temperature(false);
|
|
|
|
return traits;
|
|
}
|
|
|
|
void EmptyCustomLightOutput::write_state(light::LightState *state) {
|
|
|
|
}
|
|
|
|
void EmptyCustomLightOutput::dump_config(){
|
|
|
|
}
|
|
|
|
} //namespace empty_custom_light
|
|
} //namespace esphome
|