mirror of
https://github.com/esphome/esphome.git
synced 2026-10-07 03:16:37 +00:00
[core] Small improvements (#14884)
This commit is contained in:
@@ -186,8 +186,8 @@ async def to_code_base(config):
|
|||||||
cg.add_library("SPI", None)
|
cg.add_library("SPI", None)
|
||||||
cg.add_library(
|
cg.add_library(
|
||||||
"BME68x Sensor library",
|
"BME68x Sensor library",
|
||||||
"1.3.40408",
|
None,
|
||||||
"https://github.com/boschsensortec/Bosch-BME68x-Library",
|
"https://github.com/boschsensortec/Bosch-BME68x-Library#v1.3.40408",
|
||||||
)
|
)
|
||||||
cg.add_library(
|
cg.add_library(
|
||||||
"BSEC2 Software Library",
|
"BSEC2 Software Library",
|
||||||
|
|||||||
@@ -384,7 +384,7 @@ def merge_component_configs(
|
|||||||
# Write merged config
|
# Write merged config
|
||||||
output_file.parent.mkdir(parents=True, exist_ok=True)
|
output_file.parent.mkdir(parents=True, exist_ok=True)
|
||||||
yaml_content = yaml_util.dump(merged_config_data)
|
yaml_content = yaml_util.dump(merged_config_data)
|
||||||
output_file.write_text(yaml_content)
|
output_file.write_text(yaml_content, encoding="utf-8")
|
||||||
|
|
||||||
print(f"Successfully merged {len(component_names)} components into {output_file}")
|
print(f"Successfully merged {len(component_names)} components into {output_file}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user