mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 05:13:31 +02:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -6,7 +6,7 @@ namespace template_ {
|
||||
|
||||
using namespace esphome::cover;
|
||||
|
||||
static const char *TAG = "template.cover";
|
||||
static const char *const TAG = "template.cover";
|
||||
|
||||
TemplateCover::TemplateCover()
|
||||
: open_trigger_(new Trigger<>()),
|
||||
|
||||
Reference in New Issue
Block a user