diff --git a/.github/workflows/home-assistant.yml b/.github/workflows/home-assistant.yml index 87c5a73..d16f575 100644 --- a/.github/workflows/home-assistant.yml +++ b/.github/workflows/home-assistant.yml @@ -21,8 +21,10 @@ jobs: steps: - name: 📥 Checkout code uses: actions/checkout@v1 + - name: ➡️ Copy stub files + run: cp -R ./.stubs/* . - name: 🕵️ Check configuration uses: "docker://homeassistant/home-assistant:stable" with: args: | - python -m homeassistant --script check_config --info all + python -m homeassistant --config /github/workspace --script check_config --info all diff --git a/.gitignore b/.gitignore index 83acb3c..f74ca34 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ tts deps image -secrets.yaml +/secrets.yaml *.db *.old diff --git a/.stubs/secrets.yaml b/.stubs/secrets.yaml new file mode 100644 index 0000000..a3d9bd4 --- /dev/null +++ b/.stubs/secrets.yaml @@ -0,0 +1,3 @@ +home_latititude: 1 +home_longitude: 1 +home_elevation: 1 \ No newline at end of file