mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-30 01:38:27 +02:00
Enable readability-redundant-member-init check (#3097)
This commit is contained in:
@@ -11,7 +11,7 @@ static const char *const TAG = "mqtt.text_sensor";
|
||||
|
||||
using namespace esphome::text_sensor;
|
||||
|
||||
MQTTTextSensor::MQTTTextSensor(TextSensor *sensor) : MQTTComponent(), sensor_(sensor) {}
|
||||
MQTTTextSensor::MQTTTextSensor(TextSensor *sensor) : sensor_(sensor) {}
|
||||
void MQTTTextSensor::send_discovery(JsonObject root, mqtt::SendDiscoveryConfig &config) {
|
||||
config.command_topic = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user