This commit is contained in:
J. Nick Koston 2023-06-07 14:41:06 -05:00
parent af86bd977a
commit 0bfe3b0f1a
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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;