How to activate SLEEP-TIMER function via WebSockets API ?

hi,

i tried to activate the sleep-timer-function via WebSockets API with this commands:

            volumio_emit([('setSleep', {"enabled": "true", "time": "00:05", "action": "stop"})])

but it didn’t work.

Something wrong with the notation?

Please help me! Thx!