Update device: MCCGQ02HL by Xiaomi (#2422) #1685
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
name: Validate JSONs | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'custom_components/battery_notes/schema.json' | |
- 'custom_components/battery_notes/data/**' | |
- '.github/workflows/json*.yml' | |
pull_request: | |
paths: | |
- 'custom_components/battery_notes/schema.json' | |
- 'custom_components/battery_notes/data/**' | |
- '.github/workflows/json*.yml' | |
jobs: | |
verify-json-validation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Validate JSON | |
uses: dsanders11/[email protected] | |
with: | |
schema: custom_components/battery_notes/schema.json | |
files: custom_components/battery_notes/data/library.json | |