Output light value in plant monitoring system

Can someone tell me how to output the light in the page.
I tried but it is giving NaN.

Hello roshan click on deploy configuration and then click on view devices you will see the values

Let me know if any issue

Hii Roshan, I think there is a problem in your code, try to copy and paste the variable name or try deploy configuration another time or check whether the pins are connected correctly