loop
This commit is contained in:
parent
0e614daee4
commit
6c96f7045c
|
@ -15,6 +15,7 @@ namespace ratgdo {
|
||||||
light::LightTraits get_traits() override;
|
light::LightTraits get_traits() override;
|
||||||
void write_state(light::LightState* state) override;
|
void write_state(light::LightState* state) override;
|
||||||
void setup_state(light::LightState* state) override;
|
void setup_state(light::LightState* state) override;
|
||||||
|
void set_state(light::LightState* light_state, esphome::ratgdo::LightState state);
|
||||||
light::LightState* get_state() { return this->light_state_; }
|
light::LightState* get_state() { return this->light_state_; }
|
||||||
|
|
||||||
void on_light_state(esphome::ratgdo::LightState state) override;
|
void on_light_state(esphome::ratgdo::LightState state) override;
|
||||||
|
|
Loading…
Reference in New Issue