Closed FroztOfficial closed 11 months ago
Hi @FroztOfficial - see https://github.com/abcminiuser/python-homeassistant-streamdeck/blob/master/src/HassClient.py for an example using the asyncio key callbacks. The set_key_callback_async()
function needs to bind to an async def
python function.
Info
Help wanted
Hey, so I just got the Elgato Stream Deck XL, but I have a hard time setting up the async version of the key callback function (set_key_callback_async).
So I was wondering if someone could help me make the following code use the
set_key_callback_async
function instead of theset_key_callback
function?