Configuring Home Assistant with Ecobee Thermostat and Automations

Hello everyone. I just setup my ecobee thermostat in home assistant by it’s Api key. I’m trying to use the “change of state” (the goal is to get a text message when my thermostat turns on or off) but when I configure the automation, I get this error:

‘Message malformed: required key not provided @ data[‘to’]’

I’m new to the automation side of home assistant so forgive me if this is a simple fix. Thank you