i8beef / HomeAutio.Mqtt.GoogleHome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use Google schema files

i8beef opened this issue · comments

Google has released a new repo that is supposed to contain JSON schema / YAML files that describe their entire smart home schema: https://github.com/actions-on-google/smart-home-schema

The scripts that generate DeviceTypes, TraitTypes, and CommandType should move to be generated from this repo instead of attempting to scrape the Google documentation site.

In addition, look into whether the following can be generated automatically from these:

  1. googleDevices.json validation / trait validation
  2. Trait JSON examples

Fixed in 2.0.