actions-on-google / actions-on-google-java

Java/Kotlin library for Actions on Google
Apache License 2.0
287 stars 39 forks source link

Smarthome integration should allow setting arbitrary data on ExecuteResponse #48

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-java/blob/master/src/main/kotlin/com/google/actions/api/smarthome/SmartHomeResponse.kt#L457

proppy commented 4 years ago

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