I have a Broadlink RM4 Pro added to HA. I programmed some commands and am able to use remote.send_command to send commands to control devices.
I want to be able to send these commands from my Google Home speakers.
Right now I am creating a script for every device/command I want, and exposing the script to my Google Home speakers. It works but having to create a script for every device/command is a bit clunky.
I am wondering if there is a better, more elegant way?