actions-on-google / actions-on-google-nodejs

Node.js client library for Actions on Google
https://actions-on-google.github.io/actions-on-google-nodejs
Apache License 2.0
900 stars 197 forks source link

Smarthome integration should allow setting arbitrary data on ExecuteResponse #387

Closed proppy closed 4 years ago

proppy commented 4 years ago

It can be valid of a trait to return trait-specific structured data outside of states as part of ExecuteResponse command result, but the current smarthome integration only support challengeType, see: https://github.com/actions-on-google/actions-on-google-nodejs/blob/master/src/service/smarthome/api/v1.ts#L150

proppy commented 4 years ago

Turn out command results are returned as part of the states sorry for the confusion.