-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into kodi-play-camera
- Loading branch information
Showing
622 changed files
with
62,809 additions
and
4,635 deletions.
There are no files selected for viewing
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 @@ | ||
--- | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
time: "06:00" |
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,26 @@ | ||
--- | ||
name: ESPHome | ||
|
||
## This workflow exists to keep branch protection happy in the event of no changes being made to the esphome directory. | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
- 'esphome/**' | ||
- '.github/workflows/esphome**' | ||
push: | ||
branches: [main] | ||
paths-ignore: | ||
- 'esphome/**' | ||
- '.github/workflows/esphome**' | ||
schedule: | ||
- cron: 0 12 * * * | ||
|
||
jobs: | ||
# This is used by branch protections | ||
final: | ||
name: Final ESPHome check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: 'echo "No build required"' |
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,114 @@ | ||
--- | ||
name: ESPHome | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
pull_request: | ||
paths: | ||
- 'esphome/**' | ||
- '.github/workflows/esphome**' | ||
push: | ||
branches: [main] | ||
paths: | ||
- 'esphome/**' | ||
- '.github/workflows/esphome**' | ||
schedule: | ||
- cron: 0 12 * * * | ||
|
||
jobs: | ||
files: # Job that lists files | ||
name: Discover ESPHome files | ||
runs-on: ubuntu-latest | ||
outputs: | ||
file: ${{ steps.set-files.outputs.file }} # generate output name file by using inner step output | ||
steps: | ||
- name: Getting your configuration from GitHub | ||
uses: actions/checkout@v4 | ||
- name: Get list of files | ||
id: set-files # Give it an id to handle to get step outputs in the outputs key above | ||
run: echo "::set-output name=file::$(ls esphome/*.yaml | jq -R -s -c 'split("\n")[:-1]')" | ||
# Define step output named file base on ls command transformed to JSON thanks to jq | ||
|
||
loop-stable: | ||
name: Test ESPHome Stable firmware | ||
runs-on: ubuntu-latest | ||
needs: [files] # Depends on previous job | ||
strategy: | ||
matrix: | ||
file: ${{fromJson(needs.files.outputs.file)}} # List matrix strategy from files dynamically | ||
steps: | ||
- name: Getting your configuration from GitHub | ||
uses: actions/checkout@v4 | ||
- name: ESPHome Version | ||
uses: "docker://esphome/esphome:stable" | ||
with: | ||
args: "version" | ||
- name: Copy stub files into configuration folder | ||
if: ${{ steps.esphome-test-required.outputs.ESPHOME_CHANGES != 'false' }} | ||
run: | | ||
cp -R esphome/travis_secrets.yaml.txt esphome/common/secrets.yaml | ||
cp -R esphome/travis_secrets.yaml.txt esphome/secrets.yaml | ||
- name: Compile all ESPHome ${{matrix.file}} | ||
uses: esphome/build-action@v1 | ||
with: | ||
version: stable | ||
yaml_file: ${{matrix.file}} | ||
|
||
loop-beta: | ||
name: Test ESPHome Beta firmware | ||
runs-on: ubuntu-latest | ||
needs: [files] # Depends on previous job | ||
strategy: | ||
matrix: | ||
file: ${{fromJson(needs.files.outputs.file)}} # List matrix strategy from files dynamically | ||
steps: | ||
- name: Getting your configuration from GitHub | ||
uses: actions/checkout@v4 | ||
- name: ESPHome Version | ||
uses: "docker://esphome/esphome:beta" | ||
with: | ||
args: "version" | ||
- name: Copy stub files into configuration folder | ||
if: ${{ steps.esphome-test-required.outputs.ESPHOME_CHANGES != 'false' }} | ||
run: | | ||
cp -R esphome/travis_secrets.yaml.txt esphome/common/secrets.yaml | ||
cp -R esphome/travis_secrets.yaml.txt esphome/secrets.yaml | ||
- name: Compile all ESPHome ${{matrix.file}} | ||
uses: esphome/build-action@v1 | ||
with: | ||
version: beta | ||
yaml_file: ${{matrix.file}} | ||
|
||
loop-dev: | ||
name: Test ESPHome Dev firmware | ||
runs-on: ubuntu-latest | ||
needs: [files] # Depends on previous job | ||
strategy: | ||
matrix: | ||
file: ${{fromJson(needs.files.outputs.file)}} # List matrix strategy from files dynamically | ||
steps: | ||
- name: Getting your configuration from GitHub | ||
uses: actions/checkout@v4 | ||
- name: ESPHome Version | ||
uses: "docker://esphome/esphome:dev" | ||
with: | ||
args: "version" | ||
- name: Copy stub files into configuration folder | ||
if: ${{ steps.esphome-test-required.outputs.ESPHOME_CHANGES != 'false' }} | ||
run: | | ||
cp -R esphome/travis_secrets.yaml.txt esphome/common/secrets.yaml | ||
cp -R esphome/travis_secrets.yaml.txt esphome/secrets.yaml | ||
- name: Compile all ESPHome ${{matrix.file}} | ||
uses: esphome/build-action@v1 | ||
with: | ||
version: dev | ||
yaml_file: ${{matrix.file}} | ||
|
||
# This is used by branch protections | ||
final: | ||
name: Final ESPHome check | ||
runs-on: ubuntu-latest | ||
needs: [loop-stable, loop-beta, loop-dev] | ||
steps: | ||
- name: Getting your configuration from GitHub | ||
uses: actions/checkout@v4 |
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
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
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 @@ | ||
www/lovelace-auto-entities/ |
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
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
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
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,21 @@ | ||
--- | ||
alias: Aurora Alert | ||
trigger: | ||
platform: numeric_state | ||
entity_id: sensor.aurora_visibility | ||
above: 1 | ||
action: | ||
- service: notify.alexa_media_everywhere | ||
data: | ||
message: "Alert! The Aurora Borealis might be visible right now!" | ||
data: | ||
type: announce | ||
# method: all | ||
- service: notify.email_kyle | ||
data: | ||
title: "Aurora Alert" | ||
message: "Alert! The Aurora Borealis might be visible right now!" | ||
- service: notify.mobile_app_nothing_phone_1 | ||
data: | ||
title: "Aurora Alert" | ||
message: "Alert! The Aurora Borealis might be visible right now!" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.