Is it possible to retreive the name of the device in an advanced flow?
It is about a Tuya device and I want to send a message if it is turned off.
I have tried a script (made by ChatGPT), but I cannot get it to work.
Is it possible to retreive the name of the device in an advanced flow?
It is about a Tuya device and I want to send a message if it is turned off.
I have tried a script (made by ChatGPT), but I cannot get it to work.
In other words: you like a condition which states if that device is on or off?
If so, you can add an ‘And’ logic card [value] is equal to Yes, and add the tag from the Tuya device.
Thank you.
I am looking for the device.Name
If I add a device to Tuya (and give it a name) and then add it to Homey, it gets the given name.
In my flow I want to use that name, but cannot retreive it.
If I can get the device.name, I can use it for more purposes; now I have to do it manually with a extra tag.

I want to get the M-3… name
Hi Gerard,
I clearly don’t get your use case, can you give an example of what you trying to achieve?
Which card or event should provide for the device.name?
Hello,
Thanks for the reply.
I want to get the name of the device in the advanced flow (and store it as a variable) so I can copy the flow for (a lot) more machines without entering the devicename every time.
But I think it isn’t possible with (unknown) Tuya devices.
Maybe you can use the capability watcher card from the Device Capabilities app.
It returns a number of tags, including the device name. You can use it to watch the on/off state of your switch.