I successful to integrated Assistant Relay to my HASS. and Broadlink RM pro+ to control TC2 switch with integrated to Google Home. I write scripts to call service “rest_command.assistant_relay” to asks google home to turn on or off TC2 switch, It work well but a bit delay as talk to google assistant directly.
Example for my script:
livingroom_light1_on:
alias: Living room 1 on
sequence:
- service: rest_command.assistant_relay
data:
command: ‘Turn on living room light’
mode: single
icon: mdi:lightbulb-on
livingroom_light1_off:
alias: Living room 1 off
sequence:
- service: rest_command.assistant_relay
data:
command: ‘Turn off living room light’
mode: single
icon: mdi:lightbulb-off
BTW, I need to make it as light entity, how do I ?