Closed proppy closed 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
Turn out command results are returned as part of the states sorry for the confusion.
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