Verify Tasmota action

I checked another topic ‘Verifying action success’, but I am not sure I see this as a solution.
Case : A template changes to ‘true’. As a result I send a command to a Tasmota switch.
From that point , Home Assistant seems to think the command is done.
In reality, the command never reached the switch.
This happens not very often, but it happens.
Is there a way to verify the switch state ?

Have you looked in the MQTT Explorer add-on and the Console screen in Tasmota?

Hello Wolfgang Hochweller,

Troubleshooting MQTT? MQTT-Explorer can help you be successful!
If you have Add-ons available, try adding this Add-on repository to your Add-on list. GitHub - GollumDom/addon-repository.
With this you can see that the broker sees and likely find the bug.

Sent because it has the links…

Thanks for the suggestions.
I changed my logic inside the card; I hope this check is not necessary anymore.