mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 12:46:22 +01:00
Clang-format fixes
This commit is contained in:
parent
130ce44c51
commit
a6f77271a4
@ -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 New Issue
Block a user