"""
atomicState.selections.each{item->
var = item.var;
html += """
""";
//Left Icon
if (item.icon != "none" && item.icon_loc == "left"){
log.debug(item.icon);
html+="""${item.icon_space}""";
}
//Main Content
html += """"""
//Units
units = getAbbrev(settings["${var}_units"]);
if (settings["${var}_display_units"] && item.imperial != "none" && units != "unknown") html+="""${units}""";
//Right Icon
if (item.icon != "none" && item.icon_loc == "right"){
html+="""${item.icon_space}""";
html+="""""";
}
html += """
""";
}
html += """
""";
return html;
}
def defineHTML_globalVariables(){
def html = """
var sunrise;
var sunset;
let options = [];
let pws_data = [];
let currentTemperature;
"""
}
def getWeatherTile() {
def fullSizeStyle = "margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden";
html = defineHTML_Header();
html += """"
html += defineHTML_Tile();
html+="