I’m still getting the 255:
Logger: homeassistant.components.shell_command
Source: /usr/src/homeassistant/homeassistant/components/shell_command/init.py:117
Integration: Shell Command (documentation, issues)
First occurred: 11:18:28 AM (1 occurrences)
Last logged: 11:18:28 AM
Error running command: ssh -i ~/config/ssh_keys/server1 -o StrictHostKeyChecking=no [email protected] sudo shutdown -h now
, return code: 255
NoneType: None
Here is the updated code:
shell_command:
turn_off_pve1: >
ssh -i ~/config/ssh_keys/server1 -o StrictHostKeyChecking=no [email protected] sudo /sbin/shutdown -h now
Do you see anything that would cause that error? I am still able to copy the entire “ssh -i…” command and paste it into the home assistant terminal and it shuts down the proxmox server, no password promted. This seems like it should be so close to working, but the error in home assistant is not very helpful…