#Ability to list Integration entries using Jinja?

7 messages · Page 1 of 1 (latest)

elder geode
#

I am working on an integration that generates sensor devices for my project. I have a need to list all sesnsors I create using Jinja templating. I use that list to check attributes to use in conditions. Is there a way that I can do this?

fleet cloud
#

{{ integration_entities('template')|select('match', 'sensor\.')|list }}

fleet cloud
elder geode
#

Thanks for this. I will give this a try. To be clear, I am trying to move my View Assist project to an integration so if something like { integration_entities('view_assist')|select('match', 'sensor\.')|list }} works for pulling all sensors from that integration then I think I'll be in business.

In other news, I don't have access to the last thing you linked.

fleet cloud
#

Request developer access from Channels and Roles

#

But I gave you developer access, so 🤷