Ewelink-api-next - best way to get device status

Hi everyone, I’m programming with ewelink-api-next (v2). To have the status of some switches as updated as possible I use the ‘getThingStatus’ function with a timer that calls it every 30 seconds. However, I wonder if there is a better system to do the same thing (for example the official ewelink app updates the status in real time).

Thank you,