Hi,
I use this switch: https://home-assistant.io/components/switch.wake_on_lan/
Which works great for waking and shutting down my PC.
But I also use the state of this switch in an automation, and the switch has a delay of about 30-40 seconds. So my automation that turns on and off a light together with the PC will not start until long after the PC is running and also not turn off until almost a minute after shutdown.
Is it possible to increase the refresh-rate of this switch, to like 5 seconds?
Or is possible to create another switch which pings the PC every 5 seconds and does the same thing as this switch?