Pyscript enables powerful python scripting for Home Assistant (HASS), available via HACS.
https://github.com/custom-components/pyscript.git
(9fa0236fb02669046f922d05a6667b3abdb87c40)