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