Skip to content

Commit

Permalink
fix: use Python 3.12 to execute esphome configuration check
Browse files Browse the repository at this point in the history
use base64 encoded string as esp8266-01.api.encryption_key value in fake secrets
  • Loading branch information
aronnebrivio committed Oct 12, 2024
1 parent 9bfa1cd commit a69ae3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/home-assistant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
steps:
- name: ⤵️ Check out configuration from GitHub
uses: actions/[email protected]
- name: Set up Python 3.7
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
Expand All @@ -50,4 +50,4 @@ jobs:
- name: Run esphome on all files
# yamllint disable rule:line-length
run: |
for file in $(find ./esphome -type f -name "*.yaml" -maxdepth 1 -not -name "secrets.yaml"); do esphome "${file}" config; done
for file in $(find ./esphome -type f -name "*.yaml" -maxdepth 1 -not -name "secrets.yaml"); do esphome config "${file}"; done
2 changes: 1 addition & 1 deletion secrets.fake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ google_assistant.client_x509_cert_url: "https://www.googleapis.com/0000000000000
wifi.ssid: ssid
wifi.password: password

esp8266-01.api.encryption_key: encryption_key
esp8266-01.api.encryption_key: ZXNwODI2Ni0wMS5hcGkuZW5jcnlwdGlvbl9rZXk=
esp8266-01.ota.password: ota_password
esp8266-01.wifi.ap.password: ap_password

0 comments on commit a69ae3a

Please sign in to comment.