Hi all,
Is there any way in an Advanced Flow to pass the Device ID or Device Name from the triggering WHEN card into a HomeyScript?
WHEN:
Ceiling Light β Turned On
THEN:
HomeyScript β toggle-scene (Device Name)
So essentially:
-
A device triggers the Flow (e.g. Ceiling Light turned on)
-
I want to pass that triggering device into a HomeyScript
-
The script then uses the Device Name / ID to apply logic (e.g. toggle the correct scene for that zone)
Any guidance appreciated 
Hi Gareth,
Itβs possible with this Device Capabilities app flow card for either the device name or -ID:
(the result tag can be used as argument for a Hscript card)
Result output of the Simple (Sys) Log card:
When you only need the device name, you can use this Device Capabilities card:
Note: ββ¦from 0 minutes agoβ¦β means βthe last updated valueβ
1 Like
Also note: this flowcard uses way less resources then the watch card.
Thanks @Peter_Kawa - will give it a try now.
Thanks @Arie_J_Godschalk for the insight - I do only need the device name.