diff --git a/.github/workflows/json_validate.yml b/.github/workflows/json_validate.yml index 5886c631e..72462c8bf 100644 --- a/.github/workflows/json_validate.yml +++ b/.github/workflows/json_validate.yml @@ -19,5 +19,5 @@ jobs: - name: Validate JSON uses: docker://orrosenblatt/validate-json-action:latest env: - INPUT_SCHEMA: ./schema.json + INPUT_SCHEMA: custom_components/battery_notes/schema.json INPUT_JSONS: custom_components/battery_notes/data/library.json diff --git a/.github/workflows/new_device.yml b/.github/workflows/new_device.yml index aaab6d882..96cdcfbd6 100644 --- a/.github/workflows/new_device.yml +++ b/.github/workflows/new_device.yml @@ -82,7 +82,7 @@ jobs: - name: Validate JSON uses: docker://orrosenblatt/validate-json-action:latest env: - INPUT_SCHEMA: ./schema.json + INPUT_SCHEMA: custom_components/battery_notes/schema.json INPUT_JSONS: custom_components/battery_notes/data/library.json - name: Create pull request diff --git a/custom_components/battery_notes/data/library.json b/custom_components/battery_notes/data/library.json index 6b9c002d7..6a0162dc6 100644 --- a/custom_components/battery_notes/data/library.json +++ b/custom_components/battery_notes/data/library.json @@ -1,5 +1,5 @@ { - "$schema": "../../../schema.json", + "$schema": "../schema.json", "version": 1, "devices": [ {