Passing sensor data via ifttt.trigger to google sheet

Hi all,

I’ve got a couple of automated ifttt.triggers running without problems. They mostly contain on/off triggers without sensor data.

Now, I’m trying to pass a specific sensor data via an ifttt.trigger event to record that value in a google sheet.

Sensor value should be passed as value1.

As example:
{{states.sun.sun.state}} --> above_horizon (Now I want to pass this value into my google sheet)

But all I got in my google sheet is {{states.sun.sun.state}} and not above_horizon.

Current script:
Service: ifttt.trigger
{“event”:“test_value”, “value1”:"{{states.sun.sun.state}}"}

{{states.sun.sun.state}} is shown correctly as above_horizon in the Templates section.

Did you ever figure this out? I’m running into the same issue. Not sure how to pass a sensor state as a value for an IFTTT trigger.