diff --git a/esphome/components/gp8403/output/gp8403_output.h b/esphome/components/gp8403/output/gp8403_output.h index 5151ffb4be..f840303c38 100644 --- a/esphome/components/gp8403/output/gp8403_output.h +++ b/esphome/components/gp8403/output/gp8403_output.h @@ -14,7 +14,8 @@ class GP8403Output : public Component, public output::FloatOutput, public Parent float get_setup_priority() const override { return setup_priority::DATA - 1; } void set_channel(uint8_t channel) { this->channel_ = channel; } void write_state(float state) override; - + + protected: uint8_t channel_; };