From 0bfe3b0f1aa6998addd4e39c4b408aa153e88b98 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 7 Jun 2023 14:41:06 -0500 Subject: [PATCH] fix --- components/ratgdo/binary_sensor/ratgdo_binary_sensor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ratgdo/binary_sensor/ratgdo_binary_sensor.h b/components/ratgdo/binary_sensor/ratgdo_binary_sensor.h index 22724f1..957199d 100644 --- a/components/ratgdo/binary_sensor/ratgdo_binary_sensor.h +++ b/components/ratgdo/binary_sensor/ratgdo_binary_sensor.h @@ -17,7 +17,7 @@ namespace ratgdo { class RATGDOBinarySensor : public binary_sensor::BinarySensor, public RATGDOClient, public Component { public: void dump_config() override; - void set_type(SensorType type) { type_ = type_; } + void set_type(SensorType type) { this->type_ = type_; } void on_motion_state(MotionState state) override; void on_obstruction_state(ObstructionState state) override;