Closed dominik4545 closed 5 months ago
github issues are not for support requests. Come ask on the esphome discord server or one of the forums. You're using bare includes instead of putting them as packages. You can't have the same section twice which is what you get with the bare include. Packages combine things.
The problem
Hey there,
As I have multiple ESP32/ESP8266 components with the same sensors, I want to use substitutions to avoid copy-paste-issues and just re-use my configuration.
Unfortunately, it's only working for me as long as the domain e.g.
sensor
is first used like in the configuration below: The BME680 sensor is loaded as the logs in the dashboard show but the DHT-22-configuration and the LDR-configuration is completely ignored. If I copy exact the same content of the sensor-yamls to theoutpost.yaml
instead of including it, everything works properly. The example below uses theesp32
(denky32
) platform but this also occurs when using theesp8266
(d1_mini
)Do I have any issue in my inclusion/substitution process? What can I improve to not face this issue anymore?
Thanks and best regards, Dominik
Which version of ESPHome has the issue?
2024.6.1
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.6.4
What platform are you using?
ESP32
Board
denky32
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response