Opla Personal Weather Station light variable should be integer not float

I was following the Opla IoT Kit tutorial on how to make the Personal Weather Station with the Arduino IoT Cloud. During the compile I was getting an error at "carrier.Light.readColor(none, none, none, light);". I read the Reference on the light sensor and saw that the last parameter was a lux value and it was an integer. Earlier in the tutorial there was 5 variables created, one was 'light' and it made to be a float.
I went back into the Thing setup and changed the light variable to an integer and the compile error went away.