Shelly2 roller state

Hi,

I setup a shelly2, as a roller.

I want to use it for my shutters.

I currently have this:

But that is not working with the state topic. I think the state should be something with json?
Any an idea, below the output of the state command

curl “http://192.168.180.58/roller/0” 2>> /tmp/roller | grep last_direction

{“state”:“stop”,“power”:0.00,“is_valid”:true,“safety_switch”:false,“stop_reason”:“normal”,“last_direction”:“close”}

You might find it easier to get help if you post your code properly, see the top of the page for instructions.