This is my working configuration:
Switch SSR "SSR on nodeMCU (ESP Easy mqtt)" <poweroutlet> { mqtt=">[broker:esp1/gpio/2:command:ON:0], >[broker:esp1/gpio/2:command:OFF:1]" }
On ESP Easy I have Pin mode 2 (D4): Output High because of the type of the SSR I’m using.
You don’t need to configure “Device”.
As I can see you’re controlling output from OH, but on ESP Easy you have an input.