Semantics for the Internet of Things. You don't think of data as being a pin value between 0 and 1023, you shouldn't use it that way either! If it's temperature, it's temperature in units Celsius or Fahrenheit.
iot .connect() .set(':on', true)
iot .connect() .with_facet(":lighting") .set(':color', 'red')
SET state:on = true;
SET state:color = "red" WHERE meta:facet & iot-facet:lighting;