Print text mqtt command topic (#5601)

This commit is contained in:
Jesse Hills 2023-10-26 13:37:06 +13:00 committed by GitHub
parent 93056dead9
commit 4774200f6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ void MQTTTextComponent::setup() {
void MQTTTextComponent::dump_config() { void MQTTTextComponent::dump_config() {
ESP_LOGCONFIG(TAG, "MQTT text '%s':", this->text_->get_name().c_str()); ESP_LOGCONFIG(TAG, "MQTT text '%s':", this->text_->get_name().c_str());
LOG_MQTT_COMPONENT(true, false) LOG_MQTT_COMPONENT(true, true)
} }
std::string MQTTTextComponent::component_type() const { return "text"; } std::string MQTTTextComponent::component_type() const { return "text"; }