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):


 "__main__.py", line 19, in <module>


 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp7vri0rse\build\youtube_dl\__init__.py", line 464, in main


 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp7vri0rse\build\youtube_dl\__init__.py", line 454, in _real_main


 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp7vri0rse\build\youtube_dl\YoutubeDL.py", line 1896, in download


 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp7vri0rse\build\youtube_dl\YoutubeDL.py", line 760, in extract_info


 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp7vri0rse\build\youtube_dl\extractor\common.py", line 429, in extract


 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp7vri0rse\build\youtube_dl\extractor\vidzi.py", line 57, in _real_extract
UnboundLocalError: local variable 'jwplayer_data' referenced before assignment
