From configuration.yaml
shell_command:
my_cmd: ssh user@192.168.1.11 -i /config/.ssh/id_rsa 'mpv /media/alerts/alert16.mp3 &'
I've tested this command from the HA web terminal within the HA web interface, so I'm reasonably sure this command should work. I don't think it's a venv container thing - though I could be wrong.
I've written a script thusly:
action: shell_command.my_cmd
And I get the error message: Action script.cleanup_done_alert_sound uses action shell_command.cleanup_alert which was not found. Additionally, when I go to edit the script, the little dropdown entry box shows "Error in describing action: e.services[t] is undefined".