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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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