03-16-2024 08:45 AM - edited 03-16-2024 08:47 AM
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.