Skip to content

Update device: MHO-C401 by Xiaomi (#2304) #1615

Update device: MHO-C401 by Xiaomi (#2304)

Update device: MHO-C401 by Xiaomi (#2304) #1615

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/[email protected]
with:
schema: custom_components/battery_notes/schema.json
files: custom_components/battery_notes/data/library.json