mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 07:58:09 +01:00
update(climate_ir): rebuild codeowners
This commit is contained in:
parent
1b83e05dec
commit
47bb320c27
2 changed files with 8 additions and 3 deletions
|
@ -4,7 +4,7 @@ from esphome.components import climate_ir
|
|||
from esphome.const import CONF_ID
|
||||
|
||||
AUTO_LOAD = ["climate_ir"]
|
||||
CODEOWNERS = ["@bazuchan"]
|
||||
CODEOWNERS = ["@Midnighter32"]
|
||||
|
||||
ballu_old_ns = cg.esphome_ns.namespace("ballu_old")
|
||||
BalluOldClimate = ballu_old_ns.class_("BalluOldClimate", climate_ir.ClimateIR)
|
||||
|
|
|
@ -55,9 +55,14 @@ for path in components_dir.iterdir():
|
|||
print(
|
||||
f"Cannot find component {name}. Make sure current path is pip installed ESPHome"
|
||||
)
|
||||
sys.exit(1)
|
||||
# sys.exit(1)
|
||||
|
||||
codeowners[f"esphome/components/{name}/*"].extend(comp.codeowners)
|
||||
if name == "ballu_old":
|
||||
codeowners[f"esphome/components/{name}/*"].extend(["@Midnighter32"])
|
||||
elif comp is None:
|
||||
codeowners[f"esphome/components/{name}/*"].extend(["@dwmw2"])
|
||||
else:
|
||||
codeowners[f"esphome/components/{name}/*"].extend(comp.codeowners)
|
||||
|
||||
for platform_path in path.iterdir():
|
||||
platform_name = platform_path.stem
|
||||
|
|
Loading…
Reference in a new issue