1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-04 04:12:23 +01:00

Fix MQTT light include (#2104)

Fixes https://github.com/esphome/issues/issues/2285
This commit is contained in:
Otto Winter
2021-08-01 12:33:10 +02:00
committed by GitHub
parent 5c65f9f9ad
commit f751c3828e

View File

@@ -1,9 +1,9 @@
#include "mqtt_light.h"
#include "esphome/components/light/light_json_schema.h"
#include "esphome/core/log.h"
#ifdef USE_LIGHT
#include "esphome/components/light/light_json_schema.h"
namespace esphome {
namespace mqtt {