Plug turns on and off automaticly (automation)


I’m using an Tradfri dimmer and Tradfri plug.
I’ve created an automation to turn the plug on and off with the dimmer.

I don’t know why, but it random turns the plug off (when on) and on (when off).

Here is my automation (for “turn off” the same but with state “on”):

Is there any issue in my config?
Do I have to set it up another way?

“Turned off triggered by automation…” was not me
That happened last night by its own…