From 6bc292b8133ff8f5581f241e156b0332498f3d71 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 7 Jun 2023 14:48:45 -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 c298467..5faf587 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) { this->binary_sensor_type_ = type_; } + void set_type(SensorType binary_sensor_type_) { this->binary_sensor_type_ = binary_sensor_type_; } void on_motion_state(MotionState state) override; void on_obstruction_state(ObstructionState state) override;