Hi apologies if this is covered my search fu is clearly not good enough to reveal answers.
I have successfully created a wake on lan switch using yaml that let’s my switch on and hibernate my pc via hass.agent from a switch on my dashboard . All good so far. It works exactly like I want on the dashboard.
The problem is that, now I want to use a physical button to toggle the state of this switch. I have a zigbee button I want to use. If the wake on lan switch were like any other device, e.g. a light, I could do this easily.
Problem is that my yaml generated wake on lan switch doesn’t appear in the devices list so I can’t work out how to toggle it with the automations UI. As far as I can tell, only an entity has been generated and I don’t know how to access it from UI. Is there some matter device it belongs to? Another missing piece of the puzzle is that the PC switch is also not made available to Alexa, I guess because it is not registered as a device.
Is there a way I can generate the pc as a new device (not the hass.agent device) with my wake on lan switch as an entity under it so that it shows as any other device in the devices list and is visible to Alexa.
Thanks in advance for any help and apologies if I missed a post that answers this.