Closed stevoh6 closed 2 years ago
Hi there, I'm currently working on this issue. New release will be issued soon.
Awesome news :) π― π π π can I help you somehow? Atleast testing? Can I get access to azure repo? You suggesting creating issues there, but I hasn't acces there. My mail: gemi69@hotmail.sk Thanks :)
Hi stevoh6. Async reverted to good old sync call.. This library is mainly developed for InelsForHass which is integration into the Home assistant. If you prefer to use home assistant than inels app like me, then try it out. You will find it here https://github.com/JH-Soft-Technology/InelsForHass and the way how to use it here https://hacs.xyz/
Both the library and the integration is still in progress ;-)
HI, I was almost able use newest pyinels in InnelsForHass with those changes (https://github.com/stevoh6/InelsForHass/commits/master6) but there is a problem with asynch implementation of calls in PyInels. Im not skilled in asynch calls, so I was unable to solve it. There are mine attempts (https://github.com/stevoh6/pyinels/commits/master )
Basically problem is, that HA or InnelsForHass is trying to read new devices, but they are not ready, since they are loading asynch. Logs:
Problematic part is probably usage 'run_in_executor' method. https://stackoverflow.com/questions/68580616/python-3-8-future-is-returned-instead-of-value-when-awaited
Could you please look at it? Thansks.