-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
38 additions
and
47 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
ARG BUILD_FROM | ||
FROM $BUILD_FROM | ||
|
||
# Copy data for add-on | ||
COPY run.sh / | ||
RUN chmod a+x /run.sh | ||
|
||
CMD [ "/run.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Hello World | ||
Check failure on line 1 in hello_world/config.yaml GitHub Actions / Lint add-on hello_world
|
||
version: 1.1.0 | ||
slug: hello_world | ||
description: My first Home Assistant add-on. | ||
arch: | ||
- armhf | ||
- armv7 | ||
- aarch64 | ||
- amd64 | ||
- i386 | ||
startup: application | ||
boot: auto | ||
ports: | ||
8000/tcp: 8000 | ||
options: | ||
greeting: "Hello, Home Assistant!" | ||
schema: | ||
greeting: | ||
type: string | ||
default: "Hello, Home Assistant!" | ||
image: aschmere/hello_world:{arch}-1.1.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/with-contenv bashio | ||
|
||
echo "Hello world!" | ||
|
||
python3 -m http.server 8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# https://developers.home-assistant.io/docs/add-ons/repository#repository-configuration | ||
name: Example Home Assistant add-on repository | ||
url: 'https://github.com/home-assistant/addons-example' | ||
maintainer: Awesome Maintainer <awesome@example.com> | ||
name: Arnos Home Assistant Add-On Test Repository | ||
url: 'https://github.com/aschmere/hass_addon_test' | ||
maintainer: Test |