mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-30 01:38:27 +02:00
Activate some clang-tidy checks (#1884)
This commit is contained in:
@@ -50,7 +50,7 @@ class Controller {
|
||||
virtual void on_cover_update(cover::Cover *obj){};
|
||||
#endif
|
||||
#ifdef USE_TEXT_SENSOR
|
||||
virtual void on_text_sensor_update(text_sensor::TextSensor *obj, std::string state){};
|
||||
virtual void on_text_sensor_update(text_sensor::TextSensor *obj, const std::string &state){};
|
||||
#endif
|
||||
#ifdef USE_CLIMATE
|
||||
virtual void on_climate_update(climate::Climate *obj){};
|
||||
|
||||
Reference in New Issue
Block a user