hatasmota icon indicating copy to clipboard operation
hatasmota copied to clipboard

Feature request: Add an attribute to identify entities as related to the tasmota integration

Open SteveDinn opened this issue 4 years ago • 2 comments

I would like to be able to write a template in HA to pick up the IP addresses of all tasmota devices. I have several other sensors that have states that are IP addresses on my local network as well. I need to be able to differentiate those that come from the tasmota integration from the others. As of right now, there's no way for me to tell a tasmota-integration-created light from my manual MQTT light hand-written in YAML, nor the IP address sensors from my manually-created ones.

I would suggest adding an attribute similar to, (or exactly :))

  integration: tasmota

to all the entities created by the integration so we can tell in a template that we're dealing with a tasmota-integration-created entity.

Frankly, I think all integration-created entities should have something like this.

SteveDinn avatar Nov 07 '20 03:11 SteveDinn

I'm not sure if it will be useful for the bigger audience but... Noted!

effelle avatar Nov 07 '20 14:11 effelle

Well, hopefully it's easy to implement, and it should be inconsequential to anyone who doesn't care about it.

SteveDinn avatar Nov 07 '20 17:11 SteveDinn