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-java/blob/master/src/main/kotlin/com/google/actions/api/smarthome/SmartHomeResponse.kt#L457
states
challengeType
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 supportchallengeType
, see: https://github.com/actions-on-google/actions-on-google-java/blob/master/src/main/kotlin/com/google/actions/api/smarthome/SmartHomeResponse.kt#L457