Hi, I used to send my NAS to sleep mode, using an SSH script that I placed in the configuration.yaml. About 2 years ago it kind of stopped working, if I execute the script now I only get the response 255 in the logs. If I connect to the terminal directly and execute the script, everything works completele fine.
HomeAssistant in a ProxmoxVM (didnt work on Raspi either)
Terminal and SSH addon
I did create a SSH key on the HomeAssistant, so the login works without entering credentials. That also works just fine in the terminal.
I’m not entirely sure how that used to work tbh. The fact that it works in the ssh addon doesn’t really tell you anything since HA is in a different docker container with a different home directory that won’t have the keys.
Either way follow that guide and you’ll get it working.