mirror of
https://github.com/esphome/esphome.git
synced 2024-12-12 08:24:55 +01:00
Clang-format fixes
This commit is contained in:
parent
130ce44c51
commit
a6f77271a4
1 changed files with 0 additions and 2 deletions
|
@ -33,7 +33,6 @@ class TextRunBase {
|
|||
public:
|
||||
TextRunBase(display::BaseFont *font) { this->font_ = font; }
|
||||
|
||||
|
||||
void set_foreground_color(Color foreground_color) { this->foreground_color_ = foreground_color; }
|
||||
void set_background_color(Color background_color) { this->background_color_ = background_color; }
|
||||
virtual std::string get_text() = 0;
|
||||
|
@ -93,7 +92,6 @@ class TextSensorTextRun : public TextRunBase, public FormattableTextRun {
|
|||
|
||||
std::string get_text() override { return this->format_text(this->text_sensor_->get_state()); }
|
||||
|
||||
|
||||
protected:
|
||||
text_sensor::TextSensor *text_sensor_{nullptr};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue