i8beef / HomeAutio.Mqtt.GoogleHome

MIT License
215 stars 29 forks source link

Use Google schema files #107

Closed i8beef closed 3 years ago

i8beef commented 3 years ago

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
i8beef commented 3 years ago

Fixed in 2.0.