Send retained MQTT message from switch widget

Hi,

How do I send a retained MQTT message from the switch widget on the dashboard? I have managed to send a ‘normal’ message but can’t find anywhere to configure how I want to send it.

I want to send a retained message becasue it should be sent to a device which is asleep for most of the time and only wakes up twice an hour.

Thanks!