Skip to content

Easy way to get device state as online/offline #304

Answered by jmklix
subham9777 asked this question in Q&A
Discussion options

You must be logged in to vote

If you want another device/program to know if a device is online you will want to use Lifecycle events.

If you want a device to know when it is online/online you will want to use on_connection_interrupted.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by subham9777
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants