10-14-2023 08:45 AM
Hi! I would like to do some of the following automations:
- Turn off TV when everyone leaves
- Start robot vacuum when everyone leaves
All other automations allow me to select actions from every device I have. However, for the home/away routines it only lets me select lights. Is this Intentional? It doesn't make sense to me why it would be since I can't imagine a reason triggers wouldn't compose with every action.
10-14-2023 08:50 AM
I just found the google home web beta and it's sweet. It lets me do everything I want:
```
metadata:
name: Leaving home (non-lights) # Choose a short name that summarizes important starters and actions, like “Sunset lights”.
description: start the robot vacuum and turn off TV when we are away
automations:
- type: home.state.HomePresence
state: homePresenceMode
is: AWAY
actions:
- type: device.command.StartStop # Start or stop the device.
start: true
devices: robot - Living Room
- type: device.command.OnOff # Turn the device on or off.
on: false
devices: GoogleTV6694 - Living Room
```