mirror of
https://github.com/esphome/esphome.git
synced 2025-10-03 10:32:21 +01:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
namespace esphome {
|
||||
namespace shutdown {
|
||||
|
||||
static const char *TAG = "shutdown.switch";
|
||||
static const char *const TAG = "shutdown.switch";
|
||||
|
||||
void ShutdownSwitch::dump_config() { LOG_SWITCH("", "Shutdown Switch", this); }
|
||||
void ShutdownSwitch::write_state(bool state) {
|
||||
|
Reference in New Issue
Block a user