cancel
Showing results for 
Search instead for 
Did you mean: 

Automate Prioritizing a device connected to Google Home wifi

davetheus
Community Member

https://www.googlenestcommunity.com/t5/Home-Automation/Automation-for-Prioritizing-a-Device-connecte...

I'm trying to write an automation script which essentially Prioritizes my mac studio during workday hours.  I've been trying the following but obviously the action isn't correct.  Any help would be much appreciated.

 

metadata:
name: Prioritize Mac-Studio on Workdays
description: Scripted automation to prioritize Mac-Studio during Workday hours.
automations:
- starters:
- type: time.schedule
at: 8:00
actions:
# Prioritizing Device
- type: device.command.Prioritize
devices:
- Mac-Studio - Office
connect: true
- starters:
- type: time.schedule
at: 18:00
actions:
# Prioritizing Device
- type: device.command.Prioritize
devices:
- Mac-Studio - Office
connect: false

 

The Mac-Studio is a device connected to the Wi-Fi but not a "device" in the Google Home App sense.  So I'm a bit at a loss.

0 REPLIES 0