When I use a Tasmota device with MQTT integration (SetOption19 1), in the “state” entity, there is a “Version” attribute that indicates the version of Tasmota used. If I use Tasmota integration (SetOption19 0), in MQTT the entity “status” does not appear and in the Tasmota integration it does not appear either. There is no way to get the version with an entity. Perhaps it is possible to have the same in MQTT integration (status and version).
I upvote this.
Using the new version()
template function/filter it would be easy to compare latest tasmota project version and current tasmota devices version to make some automations.