I want to send the command below with mqtt with a binary switch. I only get the command correctly executed when I create the item as alphanumeric and manually enter the status. Does anyone know how I send the command off / on through a binary switch with mqtt?
shellies/<model>-<deviceid>/relay/0/command accepts on, off or toggle and applies accordingly
Can anyone help me?