mirror of
https://github.com/esphome/esphome.git
synced 2025-09-28 16:12:24 +01:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
namespace esphome {
|
||||
namespace homeassistant {
|
||||
|
||||
static const char *TAG = "homeassistant.sensor";
|
||||
static const char *const TAG = "homeassistant.sensor";
|
||||
|
||||
void HomeassistantSensor::setup() {
|
||||
api::global_api_server->subscribe_home_assistant_state(
|
||||
|
Reference in New Issue
Block a user