* Add warning for call async function from a thread
* Update docs/asyncio_working_with_async.md
Co-Authored-By: Aaron Bach <bachya1208@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Aaron Bach <bachya1208@gmail.com>
* Use f-strings instead of .format()
* Code block language marker fixes
* Make example code blocks syntactically valid Python
* Run all python code blocks through black
https://github.com/scop/misc/blob/master/black_markdown.py
* Add some missing code block language markers
* Use shell language consistently to mark shell code blocks
* Undo folding of some example dicts
* Remove outdated OrderedDict comments per Python 3.7, replace with plain dict