Update getLightValue to use value from EnumGate.