racquemis wrote:In the file frontpage.js search for the text "// Thermostat"
And add the following code above it:Also try setting idx_Usage1 tot the idx of the device. It will change the usage text from "10 WATT" to "10 W" for a cleaner look.Code: Select all
if(vtype == 'CounterDelivToday' || vtype == 'CounterToday'){ vdata = vdata + " kWh"; }
Thanks, found it and also changed the Watt to W. After that I also changed the KWH to look the same like the W
Code: Select all
if(vtype == 'CounterDelivToday' || vtype == 'CounterToday'){vdata = vdata + "<sup style=\'font-size:40%;vertical-align:top;position:relative;bottom:-0.6em;\'> kWh</sup>"};
