-- Script to report temperature to temperatur.nu commandArray = {} if (otherdevices_temperature['UteO'] <= otherdevices_temperature['UteV']) then commandArray['OpenURL']='http://www.temperatur.nu/rapportera.php?s=xxxxxxxx&id=xxxxxxxx&t=' .. string.format("%.2f", otherdevices_temperature['UteO']) else commandArray['OpenURL']='http://www.temperatur.nu/rapportera.php?s=xxxxxxxx&id=xxxxxxxx&t=' .. string.format("%.2f", otherdevices_temperature['UteV']) end return commandArray