mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 12:27:13 +01:00
Print text mqtt command topic (#5601)
This commit is contained in:
parent
93056dead9
commit
4774200f6b
@ -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"; }
|
||||||
|
Loading…
Reference in New Issue
Block a user