MQTT Embedded Broker and LWT not working

Did it work on MQTT2.4 with another broker or was that using the old binding?
A question on the missing LWT message, as I know it usually such is sent by the mqtt device without an external trigger. Could you explain that with more details?
Your switch has no commandTopic, is that on purpose?