-- Script to report temperature to temperatur.nu commandArray = {} if (otherdevices_temperature['Temp_V_Ute'] <= otherdevices_temperature['Temp_N_Ute']) then commandArray['OpenURL']='http://www.temperatur.nu/rapportera.php?hash=mitt_hash_id&t=' .. string.format("%2.3f", otherdevices_temperature['Temp_V_Ute']) else commandArray['OpenURL']='http://www.temperatur.nu/rapportera.php?hash=mitt_andra_hash_id&t=' .. string.format("%2.3f", otherdevices_temperature['Temp_N_Ute']) end return commandArray