Listing the states of all entities of a named device

Hi there all,
I have the myuplink integration and it has so many entities I am having difficulty checking the state of each entity so that I can see what changes when I tweak the myuplink app.
I can see that it is possible to create a list of entities that belong to an integration by using
{{integration_entities('myuplink')}}

Please could someone tell me how I can generate the same list of entities with their states? And ideally in csv format so I am able to copy it out of the Developer Tools/Templates and paste it into a spreadsheet?

Thank you very much for any help.

do you mean like this:

{% for entity in integration_entities('myuplink') %}
{{ entity }} , {{ states(entity) }}{% endfor %}

?

Spot on @armedad, thank you very much!

1 Like