💚 add stubs and config check path
This commit is contained in:
parent
04466e8ff5
commit
ba16b19400
4
.github/workflows/home-assistant.yml
vendored
4
.github/workflows/home-assistant.yml
vendored
@ -21,8 +21,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: 📥 Checkout code
|
- name: 📥 Checkout code
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
|
- name: ➡️ Copy stub files
|
||||||
|
run: cp -R ./.stubs/* .
|
||||||
- name: 🕵️ Check configuration
|
- name: 🕵️ Check configuration
|
||||||
uses: "docker://homeassistant/home-assistant:stable"
|
uses: "docker://homeassistant/home-assistant:stable"
|
||||||
with:
|
with:
|
||||||
args: |
|
args: |
|
||||||
python -m homeassistant --script check_config --info all
|
python -m homeassistant --config /github/workspace --script check_config --info all
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -5,7 +5,7 @@
|
|||||||
tts
|
tts
|
||||||
deps
|
deps
|
||||||
image
|
image
|
||||||
secrets.yaml
|
/secrets.yaml
|
||||||
|
|
||||||
*.db
|
*.db
|
||||||
*.old
|
*.old
|
||||||
|
3
.stubs/secrets.yaml
Normal file
3
.stubs/secrets.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
home_latititude: 1
|
||||||
|
home_longitude: 1
|
||||||
|
home_elevation: 1
|
Loading…
x
Reference in New Issue
Block a user