Hi all. im trying to execute a shell command to make my MBP go to sleep via a script in HAS. i have successfully setup ssh and created a script in bash to sleep the mac and it works really well. (also made the script executable)
now im trying to follow the HAS guide on shell commands (Shell Command - Home Assistant) yet for the life of me cant get it to work
Please read that guide to properly setup the keys. You have set up keys for the terminal container only. Ha needs it’s own key that is why it is failing. The guide explains how to setup a key for ha.
turns out when using home assistant OS at least, (didnt check other options) you also need to make sure the .ssh folder (with the private keys, config etc) is moved to \config folder