I have a contact sensor that I am using to tell when something is full or empty. The icon says open or closed. Is there a way to change it so that when that specific Contact is closed it would actually say "empty" and if it is open to have it say "full"
It is the same sensor that I use for windows so I don't want it to be a global change.
If you use smartly, you'll be able to set a different icon to either state to be more descriptive of what's empty or full. Here's a search I did for 'tray' and it shows a few options.
Ah yes, very close! Know that you can't swap out actual content of an element, you can only hide what's there, make it take up no space, then use :before or :after (or both) to inject new text.
@shawn.foist if you are using smartly 2.0 this is easily done via simple CSS. I do it for all my smartly dashes. We can now even do temperature reading based color coding. Details on the support site.
Getting my feet wet with CSS and have experimented with Smartly, it feels like it wants to grab the wheel to much for me right now. I will give it another look now that I am more familiar with CSS and how things are working.