From b48133ca74a7d446c1e20563c425521062c0a15a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 7 Jun 2023 13:28:37 -0500 Subject: [PATCH] light --- components/ratgdo/light/ratgdo_light_output.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ratgdo/light/ratgdo_light_output.h b/components/ratgdo/light/ratgdo_light_output.h index a710e8b..813f4da 100644 --- a/components/ratgdo/light/ratgdo_light_output.h +++ b/components/ratgdo/light/ratgdo_light_output.h @@ -14,7 +14,7 @@ namespace ratgdo { void dump_config() override; light::LightTraits get_traits() override; light::LightState* get_state() const; - void setup_state(light::LightState* state) override { this->light_state_ = state; } + void setup_state(light::LightState* state) override { this->state_ = state; } void on_motion_state(esphome::ratgdo::MotionState state) override; void on_obstruction_state(esphome::ratgdo::ObstructionState state) override;