Multiple devices and knowing from which device notifications originate from #467
hbldh
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Thanks sir, I'll give it a try. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a simple example of how one can use
functools.partial
to have notification callbacks with access to the device they came from:Write your Bleak application and when you call
start_nofify
, then usefunctools.partial
to inject the client object into the function:Beta Was this translation helpful? Give feedback.
All reactions