void dump_config() override
MQTTTextSensor(text_sensor::TextSensor *sensor)
std::string unique_id() override
bool send_initial_state() override
bool publish_state(const std::string &value)
const EntityBase * get_entity() const override
text_sensor::TextSensor * sensor_
void send_discovery(JsonObject root, mqtt::SendDiscoveryConfig &config) override
std::string component_type() const override