1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-27 13:13:50 +00:00

[code-quality] fix clang-tidy mqtt (#7253)

This commit is contained in:
tomaszduda23
2024-08-13 21:56:09 +02:00
committed by GitHub
parent 4bd7ba0d30
commit f81ce2c707
5 changed files with 16 additions and 5 deletions

View File

@@ -1,8 +1,9 @@
#pragma once
#include "mqtt_backend.h"
#ifdef USE_MQTT
#ifdef USE_ESP8266
#include "mqtt_backend.h"
#include <AsyncMqttClient.h>
namespace esphome {
@@ -70,3 +71,4 @@ class MQTTBackendESP8266 final : public MQTTBackend {
} // namespace esphome
#endif // defined(USE_ESP8266)
#endif