Pardon me for cross-posting this, but I wasn't getting any replies on the other in the Designer section.
What I'm trying to do is simply create a custom template button with the lights status below, button changes color with light status, and name above text is populated with either device name or ideally device location 1 or 2. Then I could simply drag the custom template to the screen, assign it to the proper device, and rinse/repeat. Then if I changed device location 1/2 it would change on the screen without my having to go in and change the text in Designer. I'm assuming I could do this with an immediate script somehow to change the text but I haven't stumbled on the solution yet. I must be missing it, but I don't see in the scripting documentation how to retrieve the location.
Any suggestions?
What I'm trying to do is simply create a custom template button with the lights status below, button changes color with light status, and name above text is populated with either device name or ideally device location 1 or 2. Then I could simply drag the custom template to the screen, assign it to the proper device, and rinse/repeat. Then if I changed device location 1/2 it would change on the screen without my having to go in and change the text in Designer. I'm assuming I could do this with an immediate script somehow to change the text but I haven't stumbled on the solution yet. I must be missing it, but I don't see in the scripting documentation how to retrieve the location.
Any suggestions?
Comment