Traceback (most recent call last):

 "/srv/hass/src/home-assistant/homeassistant/core.py", line 809, in job_handler
func(arg)

 "/srv/hass/src/home-assistant/homeassistant/helpers/event.py", line 51, in state_change_listener
event.data['new_state'])TypeError: template_sensor_state_listener() missing 1 required positional argument: 'new_state'

Traceback (most recent call last):


 "<string>", line 1, in <module>


 "C:\Users\xxx\AppData\Local\Temp\pip-install-ugvuvz4g\torch\setup.py", line 265, in <module>

description="Tensors and Dynamic neural networks in Python with strong GPU acceleration",


 "c:\users\xx\appdata\local\programs\python\python37\lib\site-packages\setuptools\__init__.py", line 145, in setup

return distutils.core.setup(**attrs)


 "c:\users\xx\appdata\local\programs\python\python37\lib\distutils\core.py", line 148, in setup

dist.run_commands()


 "c:\users\xx\appdata\local\programs\python\python37\lib\distutils\dist.py", line 966, in run_commands

self.run_command(cmd)


 "c:\users\xx\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command

cmd_obj.run()


 "C:\Users\xx\AppData\Local\Temp\pip-install-ugvuvz4g\torch\setup.py", line 99, in run

self.run_command('build_deps')


 "c:\users\xx\appdata\local\programs\python\python37\lib\distutils\cmd.py", line 313, in run_command

self.distribution.run_command(command)


 "c:\users\xx\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command

cmd_obj.run()


 "C:\Users\xx\AppData\Local\Temp\pip-install-ugvuvz4g\torch\setup.py", line 51, in run

from tools.nnwrap import generate_wrappers as generate_nn_wrappers

ModuleNotFoundError: No module named 'tools.nnwrap'
