mirror of
https://github.com/esphome/esphome.git
synced 2025-09-15 01:32:19 +01:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
namespace esphome {
|
||||
namespace version {
|
||||
|
||||
static const char *TAG = "version.text_sensor";
|
||||
static const char *const TAG = "version.text_sensor";
|
||||
|
||||
void VersionTextSensor::setup() {
|
||||
if (this->hide_timestamp_) {
|
||||
|
Reference in New Issue
Block a user