Update pilight.js

function createWattmeterElement added