Wondering if you have experience with Weather Plus not returning the expected forecast temperature...
I am getting an embedded script error when converting the temperature string to float. So i assume it is just not returning the usual temperature.
I will have to test for that in the script (error post, script post). Thank you for your inputs
Note: I am testing all the forecasted temperature to see if the temperature is dropping ...
May 10, 2020 at 4:05:52 AM
Trigger Weather MinTemperature Change Update (Tonight)
Trigger Weather MinTemperature Change Update (TomorrowNight)
Trigger Weather MinTemperature Change Update (2ndNight)
Trigger Weather MinTemperature Change Update (3rdNight)
Trigger Weather MinTemperature Change Update (4thNight)
Trigger Weather MinTemperature Change Update (5thNight)
Script Error embedded script: could not convert string to float:
Script Error Exception Traceback (most recent call shown last):
embedded script, line 3, at top level
ValueError: could not convert string to float:
Error failed to evaluate embedded script conditonal
Error embedded script: could not convert string to float:
theTemperatureV = indigo.variables[1708239780] #MinTemperatureVariable
dev = indigo.devices[23142400] #Weather Plus Station
if float(dev.states['minTemp6thNight']) < theTemperatureV.value:
return True
else:
return False