This PR fixes an issue in home-assistant/core#36744.
Switch status acquisition to "discovery"
Since "FrequentlyInvoke" error occurs frequently when acquiring status, switch to status acquisition by "discovery" and set the acquisition interval to 5 seconds.
When the state of the switch is changed in HA and the API request is successful, the state is reflected in the HA UI.
This PR fixes an issue in home-assistant/core#36744.