Replacing On/Off info by something else

Hi, I am working on my first dashboard with THR and I am struggling with something I think should be simple:

-I am trying to customize some of my tile templates so that, among other things, if the device is On, instead of displaying “On” I can display something else, such as “Done” or “Ok”. Likewise, if the device is off I want to display like “Pending”.

I am too confused on how to handle the Text property of the label inside my tile and all the data triggers and events involved here.

Could somebody explain a simple way to achieve this. I will have a bunch of devices using this tile template.

Tks!

There’s actually already a DataTrigger configured for the On state that you can use. All you need to do is add a Setter that updates the Text property. See below.

1 Like