I have a button on my dashboard to turn the pc on/off remotely using WakeOnLan and Remote Shutdown, but if I turn the PC off or on manually it doesn't update the state of the button. Is there a sensor on HASS.Agent to just purely detect if it's on or off?
I have this so far, but it won't change the state of the button when the PC is switched off because HASS.Agent's sensors just become unavailable, they don't report 0. Anyone got any ideas?