We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling code with latest docker image fails with following error:
`
Compiling .pioenvs/distancemeter-esp32/src/esphome/components/mqtt/mqtt_light.cpp.o src/esphome/components/mqtt/mqtt_light.cpp:2:56: fatal error: esphome/components/light/light_json_schema.h: No such file or directory compilation terminated. *** [.pioenvs/distancemeter-esp32/src/esphome/components/mqtt/mqtt_light.cpp.o] Error 1
latest dev
Docker
ESP32
D1 Mini
src/esphome/components/mqtt/mqtt_light.cpp
No response
The text was updated successfully, but these errors were encountered:
It appears that the MQTT Light component is being (incorrectly?) included when no lights have been defined in the config file.
As a temporary workaround, adding an empty light: into the config will force the missing files to be included.
light:
Sorry, something went wrong.
It appears that the MQTT Light component is being (incorrectly?) included when no lights have been defined in the config file. As a temporary workaround, adding an empty light: into the config will force the missing files to be included.
thanks @paulmonigatti that worked!
Fix MQTT light include
b4ba152
Fixes esphome/issues#2285
Fix MQTT light include (#2104)
f751c38
Successfully merging a pull request may close this issue.
The problem
Compiling code with latest docker image fails with following error:
`
Compiling .pioenvs/distancemeter-esp32/src/esphome/components/mqtt/mqtt_light.cpp.o
src/esphome/components/mqtt/mqtt_light.cpp:2:56: fatal error: esphome/components/light/light_json_schema.h: No such file or directory
compilation terminated.
*** [.pioenvs/distancemeter-esp32/src/esphome/components/mqtt/mqtt_light.cpp.o] Error 1
`
What is version of ESPHome has the issue?
latest dev
What type of installation are you using?
Docker
What platform are you using?
ESP32
Board
D1 Mini
Component causing the issue
src/esphome/components/mqtt/mqtt_light.cpp
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: