rename folder
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include "esphome/core/component.h"
|
||||
#include "esphome/components/output/float_output.h"
|
||||
#include "esphome/components/light/light_output.h"
|
||||
|
||||
namespace esphome {
|
||||
namespace empty_light {
|
||||
|
||||
class EmptyLightOutput : public light::LightOutput, public Component {
|
||||
public:
|
||||
void setup() override;
|
||||
light::LightTraits get_traits() override;
|
||||
void set_output(output::FloatOutput *output) { output_ = output; }
|
||||
void write_state(light::LightState *state) override;
|
||||
void dump_config() override;
|
||||
|
||||
protected:
|
||||
output::FloatOutput *output_;
|
||||
};
|
||||
|
||||
} //namespace empty_light
|
||||
} //namespace esphome
|
||||
Reference in New Issue
Block a user