Greetings, everyone!
I am not someone who is proficient with scripting, so I need some help with this dilemma. I want to have a page on my iPhone's HSTouch, where the status of various important devices would be displayed (i.e. alarm, entrance doors, generator, etc.) I can easily do this via script command that displays device string (i.e. armed or disarmed, etc.), but...
How do I make the color of text change dynamically, based on specific device string displayed? For example, if the alarm is armed, show text in bold red. If alarm is disarmed - in green. Generator running - show is red, and so on...
I currently do have device strings for certain of these devices displayed, but they are always in the same color. Once I add a bunch of what I consider "vital" to have on that overview page, I just wanted abnormal values to stand out, such as being red. How do I do this?
I am not someone who is proficient with scripting, so I need some help with this dilemma. I want to have a page on my iPhone's HSTouch, where the status of various important devices would be displayed (i.e. alarm, entrance doors, generator, etc.) I can easily do this via script command that displays device string (i.e. armed or disarmed, etc.), but...
How do I make the color of text change dynamically, based on specific device string displayed? For example, if the alarm is armed, show text in bold red. If alarm is disarmed - in green. Generator running - show is red, and so on...
I currently do have device strings for certain of these devices displayed, but they are always in the same color. Once I add a bunch of what I consider "vital" to have on that overview page, I just wanted abnormal values to stand out, such as being red. How do I do this?
Comment