I’ve got two problems (related) that I hope can be solved easily.
Problem 1: I want to execute a terminal command remotely (SSH) via a button on my HA installation. The terminal command itself is working from the HA terminal, I just don’t understand the process of integrating into HA. Do I need to create a script that executes the terminal command?
Problem 2: When I do execute the terminal command remotely I am prompted for my password. I assume the best way to do this is going to be via secrets.yaml, but I don’t really understand how to call that.
thanks in advance for your help. I really appreciate it.