Miscellaneous Async

What about ‘async’ and ‘await’ syntax?

Python 3.5 introduced new syntax to formalize the asynchronous pattern. This is however not compatible with Python 3.4. The minimum required Python version for Home Assistant is based on the Python version shipped with Debian stable, which is currently 3.4.2.

For more information, Brett Cannon wrote an excellent breakdown on ‘async’ and ‘await’ syntax and how asynchronous programming works.


Huge thanks to Ben Bangert for starting the conversion of the core to async, guiding other contributors while taking their first steps with async programming and peer reviewing this documentation.