Hide variable value on tile - only show icon

This is my $washerStatus variable, is it possible to not the show the value (on/off)?

washer

You can try using CSS. I think it would be
.tile .value {display: none; } or if you have a theme set for that specific tile
.tile.--theme-style-*style name* .value {display: none; }

You can also check the wiki
https://community.sharptools.io/t/wiki-list-of-working-css-code-verified-on-sharptools/4902?u=terri

1 Like

Thanks! I’ll give it a try in the AM.

You could also map it to a True/False variable instead of Text as the variable tile for those only shows the icon.

2 Likes

Ah, I almost picked boolean when I was setting up the variable! Thanks, that’s even easier :slight_smile:

1 Like

Love it, lol. Can we get sequenced animation? I want to make my dryer shake and tumble ;D

washer

Sorry I’m just getting to trying this out now, my dashboard and hubitat hub works so I haven’t really had time to mess with it but yesterday was a good day to learn the new features.

2 Likes

Hi !..and how to HIDE the icon on a Variable Tile ?

I’m not sure I follow.

Boolean variables only show icons (and don’t display a ‘true’ / ‘false’ value).

Text and Number variable tiles only show the value by default… and will only show an icon if you explicitly configure them with one. For those tiles, you would want to make sure the ‘Icon’ option is unchecked if you don’t want an icon displayed.

1 Like

I think that washer needs a maintenance … :sweat_smile:

1 Like