Hello Everybody ,
I want to retrieve the status feedback from my virtual temperature sensor
if the temperature is above zero, I want a “True”, and a “False” if below zero
the VERA don’t want my first code : “Failed to test code, please try again”
where is my bug ?
I am a beginner.
Thank you for your help
Sorry for my English
local temp = luup.variable_get("urn:upn-org:serviceId:TemperatureSensor1", "CurrentTemperature", 261) if (tonumber(temp) > 0) then return true end