Anyone know how I can bring in the standard HE Window icon into a variable string tile? This CSS works with a lightbulb_outline but I can't for the life of me get it to bring in the standard closed window icon.
The font-family on a tile icon when it's chosen in the UI is hubitat, so just need to dig into the CSS file to find the window_1 icon and the CSS applied...
I could see the he-window_1 was actually the name of the CSS class, not the text content (not sure how the other light bulb one works like that...). When I looked up the Chrome Dev Tools tab and located the element on a button tile where I set the custom icon, I could see the content and font family settings to use.
Brilliant! Thanks Simon, can't believe I didn't think to look at the actual content and was focused on the fact that the icon name in the selector was different. This did the trick on bringing in the standard HE icon, but now I'm stuck on using the Open vs Closed based on the variable.string content. If all windows are closed, it should show the closed icon and if at least 1 window is open it should show the open icon. Any thoughts on how to make the before and after objects behave this way?