简体   繁体   中英

How can I group device on discovery in Google smart home action?

I have a smart home skill already working fine with google home but when google home discovers devices for first time I want to group appliances into different rooms and relay this info back to google home. I know user can make rooms and assign appliances to them after sync event but I want to group them at the sync event so users wont need to do that from their end. Is it possible?

In your SYNC response you can return the roomHint property for each device which will provide a signal to the Assistant after discovering it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM