Remotely send a command to a raspberry pi zero

Hi, I have second raspberry pi that I would like to integrate on home assistant. Do you know if it is possible to send a command with command_line integration or something similar?

That depends what you actually want to do. Monitor and crontrol GPIOs, check resource use, or something else?

Thanks for your reply.

My idea was to send this command:

./ text to read

Search for shell_command and ssh.