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?
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.
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?