Skip to content

Update device: Leak Detector by switchbot (#2525) #1737

Update device: Leak Detector by switchbot (#2525)

Update device: Leak Detector by switchbot (#2525) #1737

Workflow file for this run

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/json-schema-validate-action@v1.2.0
with:
schema: custom_components/battery_notes/schema.json
files: custom_components/battery_notes/data/library.json