Update Code.gs

[*] Correct error when processing sensors without definition attribute