I have the built-in HA mqtt broker setup and running, and have two-way sync between HA and Tasmota (with regards to the relay). What I’m looking for now is what I need to add to my customization.yaml file (1) for the counter to be visible in HA and (2) to use a counter increment as a trigger for an automation.
When I check the Tasmota console, the counter isn’t sent via mqtt.
I think this is a question for tasmota, maybe they have a forum. You need to get the counter over mqtt via the tasmota console. People here wont be able to help you unless someone else has that device.