Want add mobile app online status and offline time

such as tablet at home. I want see that device whether it is connected.thanks.

I think this already exists:

sensor.yourtablet_wifi_connection will contain the name of the network it’s connected to.

Don’t forget to vote for your own request.

but sometime switch to use SIM network.wifi_connection unable to check it.