Get name of the device in a flow?

So I have 3x IKEA Fyrtur blinds that I want to set up a flow for informing me when the batteries needs charging.

I’ve set the flow up like this:

Now, I could configure the push message and hardcode the name of the blind in there, but I want to be able to easily reuse the flow. I cannot seem to find any way to fetch the device name automatically from the tags. The tag icon does not have any tags for name, as I sawe existed on some youtube-tutorials… How do I do this?

1 Like

Tap on the Tag icon on the right (in your picture) then start typing the name…

This flow reports every battery with a level below 20%, and reports the device and zone name, and the reported battery level.

2 Likes

That’s my problem - i cannot find any tags for device name. Just other information about devices. I want to use the name of the device that I used in the top card of the flow, so I can re-use that card.

Thank you, I will have a look at that.

1 Like

Hi!
I’m having the same issue as you did.
Did you find any solution?

Who are you talking to?

Homeyhue99

The solution is in this topic…it’s marked as solved.

The name of the device of which the battery changed in the flow that Peter shared came from the “When” event related to the battery change.

There could be situations where there would not be such an event to provide a device’s name, where having the device name available dynamically could come in handy. For example, when you would want to reference another device’s name in a text message (e.g. push message), like a light bulb that should turn on when the doorbell did ring.

It would be valuable to expose all device names as variables / tags, so it can be referenced in things like notification messages. Another big perk: it will allow tracking in which flows the device name gets usaged., like how the list of flows works in a device’s flow tab.

And yes, UX wise we should find a way to not pollute the variable dropdown overlay too much. Maybe by including the device name as variable / tag at the right of the device’s name?