mirror of
https://github.com/esphome/esphome.git
synced 2025-07-28 14:16:40 +00:00
[mqtt] Don’t log state topic subscription for buttons (#9887)
This commit is contained in:
parent
457689fa1d
commit
9ac10d7276
@ -27,7 +27,7 @@ void MQTTButtonComponent::setup() {
|
|||||||
}
|
}
|
||||||
void MQTTButtonComponent::dump_config() {
|
void MQTTButtonComponent::dump_config() {
|
||||||
ESP_LOGCONFIG(TAG, "MQTT Button '%s': ", this->button_->get_name().c_str());
|
ESP_LOGCONFIG(TAG, "MQTT Button '%s': ", this->button_->get_name().c_str());
|
||||||
LOG_MQTT_COMPONENT(true, true);
|
LOG_MQTT_COMPONENT(false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MQTTButtonComponent::send_discovery(JsonObject root, mqtt::SendDiscoveryConfig &config) {
|
void MQTTButtonComponent::send_discovery(JsonObject root, mqtt::SendDiscoveryConfig &config) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user