Skip to content

Update device: Temperature and humidity sensor (ZTH08-E) by Tuya (#2167) #1535

Update device: Temperature and humidity sensor (ZTH08-E) by Tuya (#2167)

Update device: Temperature and humidity sensor (ZTH08-E) by Tuya (#2167) #1535

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