How to send temp set on ecobee to minisplit that is connected to google and Assistant Relay

I have a mini split in my upstairs and ecobee central air in the lower part of the house. The minisplit is a Mr Cool that connects to google assistant and I have Assistant Relay installed to control it by being able to send command: to it but I can’t seem to figure out how to use what is set on the ecobee to control the mini split,

TLD: I want to make changes on ecobee and have that set on the mini split.

Basic outline:
Use a state trigger without specifying what state.
When it triggers, use data_template with state_attr.

This is what I have tried but the state is not getting translated to Assistant Relay

Set master bedroom to {{ states('sensor.thermostat_temperature') | round }}.
No text response given, click play to hear the audio
- id: '1596466108667'
  alias: Sync Ecobee and Mini Split
  description: ''
  trigger:
  - entity_id: sensor.thermostat_temperature
    platform: state
  condition: []
  action:
  - data:
      command: Set master bedroom to {{ states('sensor.thermostat_temperature') | round
        }}.
    service: rest_command.assistant_relay

You need data_template:

- id: '1596466108667'
  alias: Sync Ecobee and Mini Split
  description: ''
  trigger:
  - entity_id: sensor.thermostat_temperature
    platform: state
  condition: []
  action:
  - data_template:
      command: Set master bedroom to {{ states('sensor.thermostat_temperature') | round
        }}.
    service: rest_command.assistant_relay

Thanks, working now. Just have to tweak to change the modes from cool to heat as well