Hello all,
I’m trying to set up voice-based control/status-checking of my computer over Google Home.
The problem is, in order to get this to work properly, I need to use entities from three sources:
- Status would come from a helper that gets its state based on how much power is read by an entity under a power monitor my PC is plugged in through.
- Powering the computer on would be handled by a script called, that sends a curl command to a PiKVM I’ve got connected to the computer.
- Graceful shutdown of the computer would be handled by the HomeAssistant Agent (GitHub - LAB02-Research/HASS.Agent: Windows-based client for Home Assistant. Provides notifications, quick actions, commands, sensors and more.) installed on it.
All of these work individually. However, I want to create a new “switch” device to tie these all together. The reason I need it to be under a device, and not just an entity, is that it looks like Google Home (which I want to be able to use for checking the status and controlling it) only sees devices. However, from what I’m reading online, it doesn’t seem that you can create a device using YAML for some reason?
I’m still quite new to HomeAssistant, so am unsure what other tools there are available. Is there any way you can think of to bring the control of several separate entities together under some kind of device/object that I am able to access via Google Home?
Thank you