I think it would be a helpful addition to have the EntityFilter helper (core/homeassistant/helpers/entityfilter.py ) include support for labels. That is, I would like to see this also support an include_labels and “exclude_labels” filter.
This would be a really wonderful feature! It would make managing things like the InfluxDB integration to easily select which entities should be included.
The workflow would be much friendlier – all of a devices entities are presented together on the device’s page, and each of the relevant entities could easily be selected to add a label. The new dataview UI elements would make it easy to select multiple entities and add a label in one operation.