slashback100 / presence_simulation

Home Assistant Presence Simulation
439 stars 23 forks source link

Try and fix blocking operation in event loop #136

Closed bjw-s closed 1 week ago

bjw-s commented 2 weeks ago

As stated in #135 I am not that well versed in Python async await shenanigans. I took inspiration from https://developers.home-assistant.io/docs/asyncio_blocking_operations/, hopefully this does what I think it does 😅

slashback100 commented 1 week ago

Thanks for your help. I don't have the problem so I just can verify I don't issue with the fix :-) And I don't