I had a simple python script that I ran from a shell command on a windows computer with HA. It use to beep but now I can’t get it to work. The python script works (as below) from command line and HA use to work a couple of weeks ago. Any idea’s of how I can debug? I tested another shell command and it works.
shell_command:
beep: c:\Windows\py C:\Users\XXX\AppData\Roaming\.homeassistant\beep.py
beep2: py C:\Users\XXX\AppData\Roaming\.homeassistant\beep2.py
import winsound
frequency = 750 # Set Frequency To 2500 Hertz
duration = 500 # Set Duration To 1000 ms == 1 second
winsound.Beep(frequency, duration)