- Code: Select all
indigo.variable.updateValue('RainSeason', "{:.2f}".format(rainSeason)
indigo.variable.updateValue('RainSeason', "{:.2f}".format(rainSeason)
tell application "IndigoServer"
set the value of variable "WUForecastAll" to (value of variable "WUForecast") & " " & (value of variable "WUHighTemp") & (ASCII character 188) & "/" & (value of variable "WULowTemp") & (ASCII character 188)
end tell
WUForecastAll = indigo.variables[320389015].value # ID of `WUForecastAll `
WUForecast = indigo.variables[431199923].value # ID of `WUForecast `
WUHighTemp = indigo.variables[1796297015].value # ID of `WUHighTemp `
WULowTemp = indigo.variables[1401542304].value # ID of `WULowTemp
indigo.variable.updateValue(320389015, WUForecast + " " + WUHighTemp + "°" + "/" WULowTemp + "°") # ID of `WUForecastAll `
Users browsing this forum: No registered users and 1 guest