Skip to content

Commit

Permalink
Migrate JSON add-on config to YAML (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Nov 1, 2021
1 parent b1670cf commit 8975ece
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 26 deletions.
9 changes: 0 additions & 9 deletions example/build.json

This file was deleted.

7 changes: 7 additions & 0 deletions example/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
build_from:
aarch64: ghcr.io/hassio-addons/base/aarch64:10.1.1
amd64: ghcr.io/hassio-addons/base/amd64:10.1.1
armhf: ghcr.io/hassio-addons/base/armhf:10.1.1
armv7: ghcr.io/hassio-addons/base/armv7:10.1.1
i386: ghcr.io/hassio-addons/base/i386:10.1.1
17 changes: 0 additions & 17 deletions example/config.json

This file was deleted.

19 changes: 19 additions & 0 deletions example/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Example
version: dev
slug: example
description: Example add-on by Community Home Assistant Add-ons
url: https://github.com/hassio-addons/addon-example
init: false
arch:
- aarch64
- amd64
- armhf
- armv7
- i386
options:
log_level: info
seconds_between_quotes: 5
schema:
log_level: list(trace|debug|info|notice|warning|error|fatal)
seconds_between_quotes: int(1,120)

0 comments on commit 8975ece

Please sign in to comment.