This commit is contained in:
J. Nick Koston 2023-06-07 13:31:25 -05:00
parent e77ab4ea49
commit 841bbfbb26
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -13,8 +13,8 @@ namespace ratgdo {
public:
void dump_config() override;
light::LightTraits get_traits() override;
light::LightState* get_state() const;
void setup_state(light::LightState* state) override { this->state_ = state; }
LightState* get_state() { return this->state_; }
void on_motion_state(esphome::ratgdo::MotionState state) override;
void on_obstruction_state(esphome::ratgdo::ObstructionState state) override;