mirror of
https://github.com/esphome/home-assistant-addon.git
synced 2025-03-02 04:01:54 +01:00
Rename config to addon_config (#24)
This commit is contained in:
parent
554000f392
commit
59fd137bec
@ -7,7 +7,7 @@ the Hassio config for each type of install: latest, beta and dev.
|
||||
- `beta` points to the most recent full release or beta release (whichever is newer). This is so that beta image users automatically get upgraded to the stable install once it gets released.
|
||||
- `dev` is an image that Hassio builds itself and contains the latest ESPHome version straigt from dev branch.
|
||||
|
||||
The config.json files are all automatically written with the script in this directory and the `template/config.yaml` file.
|
||||
The config.json files are all automatically written with the script in this directory and the `template/addon_config.yaml` file.
|
||||
|
||||
To update one of the images: use
|
||||
|
||||
|
@ -60,7 +60,7 @@ def write_version(target: str, version: Version):
|
||||
# version: '1.14.5' # BETA
|
||||
# version: '1.14.5' # STABLE
|
||||
sub(
|
||||
'template/config.yaml',
|
||||
'template/addon_config.yaml',
|
||||
r" version: '[^']+' # {}".format(target.upper()),
|
||||
f" version: '{version}' # {target.upper()}"
|
||||
)
|
||||
|
@ -22,7 +22,7 @@ def main(args):
|
||||
root = Path(__file__).parent.parent
|
||||
templ = root / 'template'
|
||||
|
||||
with open(templ / "config.yaml", 'r') as f:
|
||||
with open(templ / "addon_config.yaml", 'r') as f:
|
||||
config = yaml.safe_load(f)
|
||||
|
||||
copyf = config['copy_files']
|
||||
|
Loading…
Reference in New Issue
Block a user