diff --git a/script/build_codeowners.py b/script/build_codeowners.py index db34ad7702..8cb19de079 100755 --- a/script/build_codeowners.py +++ b/script/build_codeowners.py @@ -3,6 +3,9 @@ import argparse from collections import defaultdict from pathlib import Path import sys +import os + +sys.path.append(os.path.join(os.path.dirname(__file__), '..')) from esphome.config import get_component, get_platform from esphome.const import KEY_CORE, KEY_TARGET_FRAMEWORK