Try this @ei_Gelb_Geek and @Gad_Ofir it’s even simpler
If you first add it will automatically ask you for your openhab instance name and the item name. After that you have a ready to go on/off shortcut widget. (You have to scroll to the bottom and tap add untrusted shortcut, than it asks you)
Maybe useful and saves time.
Best regards Johannes