I am very new to HAOS, so I am quite likely not asking this in the clearest sense possible, but here goes:
I already have the ssh shell command worked out and I have created a basic button that will send a shell command to the remote server. That works but I want to go deeper.
I am wanting to start/stop a VM on Proxmox and have created a vmstart and vmstop script on Proxmox.
What I really want is a button/slider/control that when slid to the right would send the vmstart shell command (and maybe turn green), and then when slid to the left would send the vmstop shell command (and turn red).
As I search around online, I haven’t found a button or control like this.
I can understand the point of what you are telling me, but I don’t know how to perform either of those tasks. Could you help me with a link to a walk-through?
The official HA document link I provided gives you examples of how to implement. For turn on/turn off you simply call a service to execute your shell commands.
Anyone have created a shell_command using yaml, are you able to find it in developer tool? I have a few and it used to show up in services (now call action), but I am unable to find any of my 6 I have created a long time ago. I just noticed this today when I wanted to fix one of my shell command scripts that has never worked. When I go and search for it under developer tool, it is not there.
Nevermind. I see it now. The developer tools search is finicky.