Add custom scan interval to entiity

I am wanting a devices state to be reflected in almost real time, 10 seconds or less. I have an automation that sends me an alert if a certain switch becomes unavailable, but polling seems to take forever (5-10min). How can I set this single entity to poll in 10 seconds?